Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Maximum Timeouts per Tick property to Timer #89786

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 23, 2024

  1. Add Maximum Timeouts per Tick property to Timer

    This allows Timers to be configured to emit the `timeout` signal
    multiple times per process or physics tick. This is useful for timers
    with a low wait time (< 0.05 seconds), or to ensure they stick closer
    to real time when framerate is highly variable.
    
    Keep in mind that high values will allow the function to be called
    dozens of times or more in a single frame, which can have a performance
    impact if the method connected to the `timeout` signal is slow.
    Calinou committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    20e503a View commit details
    Browse the repository at this point in the history