View Source Polyn.JSONStore (Polyn v0.6.5)
A process for loading and accessing key value data from the NATS server.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Start a new Store process
Link to this section Types
@type option() :: {:connection_name, Gnat.t()} | {:store_name, binary()} | {:contents, map()} | {:retry_interval, pos_integer()} | GenServer.option()
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec start_link(opts :: [option()]) :: GenServer.on_start()
Start a new Store process
examples
Examples
iex>Polyn.Jetstream.JSONStore.start_link(connection_name: :gnat)
:ok