comet-eventbus 0.1.0-pre-alpha.4

An implementation of strong-typed sync and asynchronous eventbus.
Documentation

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