Raxol.Core.Runtime.EventSourceTest.TestEventSource (Raxol v2.0.1)

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()

handle_manager_info(msg, state)

Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.

start_link(init_opts \\ [])

subscribe(pid \\ self())

unsubscribe(pid \\ self())