Cargo Features

rs-event-emitter has no features set by default.

[dependencies]
rs-event-emitter = { version = "3.0.3", features = ["wasm", "sync", "async", "tokio_runtime"] }
wasm

Affects types::Param, types::BoxedHandler, utils::create_wasm_handler

sync

Affects types::BoxedHandler, utils::create_handler, types::Param

async tokio_runtime?

Enables emitter_runtime and futures

Affects types::BoxedAsyncHandler, utils::create_async_handler, types::Param

tokio_runtime = async

Enables tokio_runtime of optional emitter_runtime