comet-eventbus

Crates.iocomet-eventbus
lib.rscomet-eventbus
version0.1.0-pre-alpha.4
sourcesrc
created_at2022-07-16 15:50:41.56758
updated_at2022-07-17 19:22:23.996892
descriptionAn implementation of strong-typed sync and asynchronous eventbus.
homepage
repositoryhttps://github.com/lightsing/comet-eventbus.git
max_upload_size
id626786
size65,985
Akase Haruka (lightsing)

documentation

README

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

Commit count: 38

cargo fmt