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

Fix TimerTask :execution_interval docs #994

Merged
merged 1 commit into from
Apr 24, 2023

Commits on Apr 24, 2023

  1. Fix TimerTask :execution_interval docs

    This seems to be a mistake in the docs. Looking under the hood at the `ScheduledTask` class, you can see that Float is perfectly fine and can be passed as an execution interval. This PR changes `Integer` to `Float` in the method description to avoid any confusion.
    
    https://github.com/ruby-concurrency/concurrent-ruby/blob/e7ff945661a93a2e094b3259f23ccb1b3eea9bcf/lib/concurrent-ruby/concurrent/scheduled_task.rb#L167
    freemanoid authored Apr 24, 2023
    Configuration menu
    Copy the full SHA
    543bad2 View commit details
    Browse the repository at this point in the history