| Crates.io | limnus-default-schedulers |
| lib.rs | limnus-default-schedulers |
| version | 0.0.20 |
| created_at | 2025-01-14 15:04:52.885147+00 |
| updated_at | 2025-09-17 13:22:15.077351+00 |
| description | default schedulers for limnus. Main, Fixed and Render |
| homepage | |
| repository | https://github.com/swamp/limnus |
| max_upload_size | |
| id | 1516146 |
| size | 18,548 |
Schedulers are essential components in any system that require tasks to be executed either periodically or based on specific triggers. Limnus offers a set of default schedulers that cater to a variety of use cases, ensuring that your tasks run smoothly and efficiently.
Schedulers runs a Stage feeding them the current SystemState.
Description:
The MainScheduler is designed to run tasks as often as possible, limited only by the underlying hardware
capabilities. It is ideal for tasks that need to be executed continuously without any fixed timing constraints.
In reality, it is often capped by the rendering such as vsync, depending on the system.
Description:
The FixedScheduler operates at a fixed tick rate, providing consistent and predictable task execution
intervals. By default, it runs with a 16 ms tick time, but this can be customized to suit your
application's requirements.
Description:
Currently, the RenderScheduler runs as often as possible, similar to the MainScheduler. However, future updates will allow you to set specific FPS (Frames Per Second) limits, providing greater control over rendering performance and resource usage.
This project is licensed under the MIT License - see the LICENSE file for details.