View Source ebus_broadcast (ebus v0.3.0)

Link to this section Summary

Link to this section Types

-type t() :: #{topic => binary() | nil, event => binary() | nil, payload => term(), ebus_t => broadcast}.

Link to this section Functions

-spec from_map(map()) -> t().

Equivalent to new(nil).

Equivalent to new(Topic, nil).

Equivalent to new(Topic, Event, nil).

Link to this function

new(Topic, Event, Payload)

View Source
-spec new(binary() | nil, binary() | nil, term()) -> t().