Module interval_task::runner

source ·
Expand description

§Runner

Runner have 2 usage:

Runner is run inside another thread, but don’t feel bad if you have a !Send or !Sync object needs to be used inside task, you can provide a CtxFunc<T> function, it will be called in runner thread on start, and be passed in task each loop.

§Examples

Checkout test mod under runner

Structs§

Functions§

Type Aliases§