Module interval_task::channel
source · Expand description
§channel
This is a wrapper of runner.
- block: use
send_blockingand blocked in the next loop if you don’trecv. - non-block: use
force_sendto replace the last signal. - unbounded: use
async_channel::unboundedwhich would benon-block.
Constants§
- just pure empty unit
Functions§
- Create a
runner::Runner. Signals everyinterval. - create unbouned channel that wraps a runner