Raxol.Core.Runtime.EventSourceTest.TestEventSource (Raxol v0.5.0)

View Source

A test implementation of an event source for testing purposes.

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

emit(event)

get_events()

get_state()

start_link(args \\ %{}, context \\ %{})

subscribe(pid \\ self())

unsubscribe(pid \\ self())