Skip to content

Rust based Async Executor which executes woken tasks only when it is ticked

License

Notifications You must be signed in to change notification settings

coder137/ticked-async-executor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ticked Async Executor

Rust based Async Executor which executes woken tasks only when it is ticked

Example

let executor = TickedAsyncExecutor::default();

executor.spawn_local("MyIdentifier", async move {}).detach();

// Make sure to tick your executor to run the tasks
executor.tick(DELTA, LIMIT);

Limitation

  • Does not work with the tokio runtime and async constructs that use the tokio runtime internally

About

Rust based Async Executor which executes woken tasks only when it is ticked

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages