Grizzly.Indicator (grizzly v0.22.3) View Source

Indicator handling for Grizzly when an indicator event is triggered

See Grizzly.Supervisor for configuring the dispatcher that Grizzly should use during runtime.

Link to this section Summary

Link to this section Types

Specs

dispatcher() :: (event() -> :ok)

Specs

event() :: :on | :off

Link to this section Functions

Link to this function

handle_event(event, env, dispatcher)

View Source

Specs

handle_event([String.t()], %{required(String.t()) => String.t()}, dispatcher()) ::
  :ok

Handles an event from BEAMNotify