EventBroker.Event (Anoma v0.25.0)

I am an Event module for the Event Broker.

I provide the standard event format to be distributed for the PubSub system. Unless the message is in my format it does not get processed.

Summary

Types

t()

I am the Event type for the Event Broker.

Types

@type t() :: %EventBroker.Event{body: term(), source_module: module()}

I am the Event type for the Event Broker.

My fields determine the overall structure of the messages.

Fields

  • :source_module - The module from which the message got sent.
  • :body - A body of the event.

Functions

Link to this macro

new_with_body(body)

(macro)