View Source WhiteRabbit.RPC.ProcessStore (White Rabbit v0.2.0)

Link to this section Summary

Functions

GenServer implementation of a key value store using :ets tables to store caller id and their pids to link RPC requests back to the correct process.

Get a value from :persistent_term using key {WhiteRabbit, service}

Link to this section Functions

GenServer implementation of a key value store using :ets tables to store caller id and their pids to link RPC requests back to the correct process.

Start under a Supervisor.

{WhiteRabbit.RPC.ProcessStore, []}
Link to this function

create_table(name \\ :rpc_store)

View Source
Link to this function

fetch_id(key, table \\ :rpc_store)

View Source
Link to this function

get_config_for_service(service)

View Source
@spec get_config_for_service(atom()) :: any()

Get a value from :persistent_term using key {WhiteRabbit, service}

Link to this function

insert(name, key, value)

View Source