Expand description
Asynchronous programming utilities
Choose your runtime and get both AsyncTask and AsyncStream plus convenient macros:
tokio-async: Full Tokio ecosystem with mpsc channelsstd-async: Runtime-agnostic using async-channelcrossbeam-async: Compute-heavy workloads with crossbeam + async-channel
Re-exports§
pub use stream::tokio::AsyncStream;pub use emitter_builder::EmitterBuilder;pub use emitter_builder::EmitterImpl;pub use result_types::AsyncResult;pub use result_types::AsyncResultChunk;pub use stream_ext::StreamExt;
Modules§
- emitter_
builder - EmitterBuilder - builds AsyncStream with error handling
- result_
types - Result types that are allowed in AsyncTask and AsyncStream
- stream
- Async stream with built-in error handling and collection support
- stream_
ext - Stream extension traits for async stream processing
Macros§
Structs§
- Async
Task - Generic async task wrapper for single operations
Traits§
- NotResult
- Marker trait to prevent Result types in AsyncTask/AsyncStream