Spectre.Receipt.Sink.Memory (Spectre v0.3.4)

Copy Markdown View Source

Process-backed receipt sink for development, tests, and conformance suites.

Pass server: pid_or_name in sink options. Duplicate ids with identical envelopes are idempotent; a divergent envelope is rejected.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

all(opts)

@spec all(keyword()) :: [Spectre.Receipt.Envelope.t()]

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

@spec start_link(keyword()) :: Agent.on_start()