brook v0.6.0 Brook.Server

Process event messages to and from the underlying event stream message bus implementation. Interact with the application's persisted view state of the event stream with getter and setter functions to write and update events from the view state as well as delete them.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Initialize a Brook server configuration.

Start a Brook server and link it to the current process

Link to this section Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

init(config)

init(term()) :: {:ok, term()}

Initialize a Brook server configuration.

Link to this function

start_link(config)

start_link(term()) :: {:ok, pid()}

Start a Brook server and link it to the current process