View Source Grizzly.Indicator (grizzly v8.6.6)

Indicator handling for Grizzly when an indicator event is triggered

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

Summary

Types

dispatcher()

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

event()

@type event() :: :on | :off

Functions

handle_event(event, env, dispatcher)

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

Handles an event from BEAMNotify