Expand description
Watermark
and Closer
implementation for implementing transaction.
Structs§
- Async
Closer - 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
AsyncSpawner
that uses theasync-std
runtime. - 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
- 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
AsyncSpawner
that uses thesmol
runtime. - Tokio
Spawner tokio
andfuture
- A
AsyncSpawner
that uses thetokio
runtime. - Wasm
Spawner wasm
- A
AsyncSpawner
that uses thewasm-bindgen-futures
runtime. - Water
Mark - 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 - 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.