Crate tokio_based

Source
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§

JoinHandle
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