Coffrify.Runtime.Idempotency.Memory (Coffrify v0.9.0)

View Source

In-memory idempotency store backed by an Agent. Process-local only — use this for tests, single-process apps, or as a development default.

Summary

Functions

Returns a specification to start this module under a supervisor.

Start a new memory store. Returns the PID directly.

Types

t()

@type t() :: pid()

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

@spec start_link(keyword()) :: {:ok, pid()} | {:error, term()}

Start a new memory store. Returns the PID directly.