Anoma.Node.Event (Anoma v0.25.0)

I am an Node Event module for Anoma Node. I provide a wrapper around all Anoma Events.

Summary

Types

t()

I am the Event type for the Node events. My fields determine the overall structure of the Node messages.

Types

@type t() :: %Anoma.Node.Event{body: term(), node_id: any()}

I am the Event type for the Node events. My fields determine the overall structure of the Node messages.

Fields

  • :node_id - The ID of the Anoma Node sending an event. Nil in case
             of a non-Anoma event.
  • :body - A body of the event.

Functions

Link to this macro

new_with_body(node_id, body)

(macro)
Link to this function

node_filter(node_id)