Condukt.Sessions.Inbox.Memory (Condukt v3.0.0)

Copy Markdown View Source

A Condukt.Sessions.Inbox in the local node's memory, for tests and single-node hosts.

Inputs live in this process, so they are lost with it and seen by this node only. Start one under your supervision tree:

children = [{Condukt.Sessions.Inbox.Memory, name: MyApp.Inbox}]

and pass it, with the same :name, where an inbox is taken:

config :condukt, inbox: {Condukt.Sessions.Inbox.Memory, name: MyApp.Inbox}

Options:

  • :name - the process name. Defaults to this module.

Summary

Functions

Starts the process holding the inputs.

Functions

start_link(opts \\ [])

Starts the process holding the inputs.