Expand description
§use-event-dispatch
Dispatch status and outcome primitives for RustUse events.
§Install
[dependencies]
use-event-dispatch = "0.1.0"§Example
use use_event_dispatch::{DispatchOutcome, DispatchStatus};
let outcome = DispatchOutcome::dispatched();
assert_eq!(outcome.status, DispatchStatus::Dispatched);
assert!(outcome.is_success());§Scope
- Represent simple dispatch outcomes.
- Preserve optional message text on skipped or failed outcomes.
- Stay independent from any dispatcher runtime.
§Non-Goals
- No dispatch loop.
- No broker, queue, retry, or scheduler.
- No handler registry.
§Status
Experimental v0.1.0 primitive.
§License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license