Electric.PersistentKV.Memory (electric v1.0.24)

View Source

Summary

Functions

Returns a specification to start this module under a supervisor.

Types

seed_data()

@type seed_data() :: [{binary(), term()}] | %{required(binary()) => term()}

t()

@type t() :: %Electric.PersistentKV.Memory{parent: pid(), pid: pid()}

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

contents(s)

new!(data \\ [])

@spec new!(seed_data()) :: t()

start_link(data \\ [])