Function hdk::p2p::emit_signal

source ·
pub fn emit_signal<I>(input: I) -> ExternResult<()>
where I: Serialize + Debug,
Expand description

Emit an app-defined Signal.

Only clients who have subscribed to signals from this Cell with the proper filters will receive it.

§Examples

https://github.com/holochain/holochain/blob/develop/crates/test_utils/wasm/wasm_workspace/emit_signal/src/lib.rs