Patch.Test.Support.Inject.Storage (patch v0.4.0) View Source

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Types

Specs

t() :: %Patch.Test.Support.Inject.Storage{
  store: map(),
  validator: pid() | nil,
  version: pos_integer()
}

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.

Link to this function

put(storage, key, value)

View Source
Link to this function

start_link(validator, options \\ [])

View Source