VerifiedPubSub.Dsl.Message (VerifiedPubSub v0.1.0)

Copy Markdown View Source

An event that a manifest declares on a topic.

Summary

Types

t()

The fields of the event

Types

t()

@type t() :: %VerifiedPubSub.Dsl.Message{
  __identifier__: term(),
  __spark_metadata__: term(),
  description: String.t() | nil,
  fields: [VerifiedPubSub.Dsl.Field.t()],
  name: atom()
}

The fields of the event:

  • name: the name of the event.
  • description: the description, or nil.
  • fields: the fields of the payload.
  • __identifier__ and __spark_metadata__: Spark sets these.