tg_client v0.1.0 TgClient.Event.ManagerWatcher
Worker for creation/monitoring GenEvent manager and registration event handler.
Summary
Functions
Send sync notification to handler
handles EXIT messages from the GenEvent handler and restarts it
inits the GenServer by starting a new handler
Push event to GenEvent handler
Starts EventManagerWatcher
Functions
Specs
push_event(pid, map) :: :ok | {:error, term}
Push event to GenEvent handler