streambed-patterns

Crates.iostreambed-patterns
lib.rsstreambed-patterns
version0.11.1
sourcesrc
created_at2023-10-18 04:08:54.82232
updated_at2024-09-13 03:33:00.698288
descriptionPatterns for working with streambed
homepage
repositoryhttps://github.com/streambed/streambed-rs.git
max_upload_size
id1006358
size14,817
Christopher Hunt (huntc)

documentation

README

patterns

Patterns for working with streambed.

Ask Pattern

The ask pattern is based on the concept of the same name from Akka. It encodes async request-reply semantics which can be used, for example, to perform request-reply operations across a tokio::sync::mpsc::channel or similar. The provided implementation sends a message using a tokio::sync::mpsc::Sender<_> and uses a tokio::sync::oneshot channel internally to convey the response.

Commit count: 126

cargo fmt