Crates.io | ordered-channel |
lib.rs | ordered-channel |
version | |
source | src |
created_at | 2024-01-23 23:40:26.060662+00 |
updated_at | 2025-03-09 16:27:49.878071+00 |
description | A channel that always receives messages in the correct order, even if they were sent out of order |
homepage | |
repository | https://gitlab.com/kornelski/ordered-channel |
max_upload_size | |
id | 1111337 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
An MPSC blocking channel that returns messages in sorted sequential consecutive order (explicitly assigned to each message), regardless of the order they were sent in.
It's convenient for collecting order-sensitive results of parallel operations (fork-join iteration).
It's backed by a BinaryHeap
that's used only when necessary to reorder the messages.