View Source ebus_message (ebus v0.3.0)

Link to this section Summary

Link to this section Types

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

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

Equivalent to new(Topic, Event, Payload, nil).

Link to this function

new(Topic, Event, Payload, Ref)

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