Skip to content

Commit a1b9f4b

Browse files
committed
update old docs
1 parent d750a9a commit a1b9f4b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
Allows you to subscribe to events with callbacks and also fire those events.
77
Events are in the form of (strings, value) and callbacks are in the form of closures that take in a value parameter;
88
9-
109
## Differences between this crate and [`event-emitter-rs`](https://crates.io/crates/event-emitter-rs)
1110
- Emitted values should implement an extra trait (Debug) in addition to Serde's Serialize and Deserialize.
12-
- This is an async implementation, currently limited to tokio, but async-std will be added soon under a feature flag.
11+
- This is an async implementation, not limited to tokio, but also supports async-std under the ```use-async-std``` feature flag.
1312
- The listener methods ***(on and once)*** take a callback that returns a future instead of a merely a closure.
1413
- The emit methods executes each callback on each event by spawning a tokio task instead of a std::thread
1514

0 commit comments

Comments
 (0)