Expand description
Watermark and Closer implementation for implementing transaction.
Structs§
- Async
Closer future - AsyncCloser holds the two things we need to close a thread and wait for it to finish: a chan to tell the thread to shut down, and a WaitGroup with which to wait for it to finish shutting down.
- Async
StdSpawner async-std - A
AsyncSpawnerthat uses theasync-stdruntime. - Async
Water Mark future - WaterMark is used to keep track of the minimum un-finished index. Typically, an index k becomes
finished or “done” according to a WaterMark once
done(k)has been called - Closer
std - Closer holds the two things we need to close a thread and wait for it to finish: a chan to tell the thread to shut down, and a WaitGroup with which to wait for it to finish shutting down.
- Smol
Spawner smol - A
AsyncSpawnerthat uses thesmolruntime. - Tokio
Spawner tokioandfuture - A
AsyncSpawnerthat uses thetokioruntime. - Wasm
Spawner wasm - A
AsyncSpawnerthat uses thewasm-bindgen-futuresruntime. - Water
Mark std - WaterMark is used to keep track of the minimum un-finished index. Typically, an index k becomes
finished or “done” according to a WaterMark once
done(k)has been called
Enums§
- Water
Mark Error std - Error type for watermark.
Traits§
- Async
Spawner future - A spawner trait for spawning futures.
- Detach
future - Detaches the task related to the join handle to let it keep running in the background.