Expand description
§BASED: BASED Async Single-threaded Execution Dispatcher
The purpose of tokio_based is to allow you to easily spin up a single threaded tokio runtime. That will be shut down and all tasks dropped when the join handle is dropped.
Structs§
- Join
Handle - When dropped the runtime will be shutdown and all tasks dropped
Functions§
- spawn
- Spawn takes a closure with a run parameter and runs the future returned by the closure
- spawn_
with_ run - Spawn takes a closure with a run parameter and runs the future returned by the closure