#event-bus #async #channel #library #concurrency

comet-eventbus

An implementation of strong-typed sync and asynchronous eventbus

2 releases

0.1.0-pre-alpha.4 Jul 17, 2022
0.1.0-pre-alpha.2 Jul 16, 2022

#1847 in Asynchronous

MIT/Apache

34KB
778 lines

comet-eventbus

License crates.io docs.rs Documentation

A strong typed sync and asynchronous eventbus implementation.

Also provide grpc eventbus bridge for asynchronous implementation.

Notice: This crate is under highly active development. I won't recommend you to use before the api becomes stable.

Get Started

Async Usage

Add this to your Cargo.toml:

[dependencies]
comet-eventbus = "0.1.0-pre-alpha.4"

Sync Usage

Add this to your Cargo.toml:

[dependencies.comet-eventbus]
version = "0.1.0-pre-alpha.4"
features = ["sync", "sync_parallel"]
default-features = false

Example

checkout examples in examples

Dependencies

~0.6–8MB
~65K SLoC