View Source Fledex.Driver.Impl.PubSub (fledex v0.3.0)

Summary

Functions

@spec init(map()) :: map()

Callback implementation for Fledex.Driver.Interface.init/1.

@spec reinit(map()) :: map()

Callback implementation for Fledex.Driver.Interface.reinit/1.

Link to this function

terminate(reason, config)

View Source
@spec terminate(reason, map()) :: :ok
when reason: :normal | :shutdown | {:shutdown, term()} | term()

Callback implementation for Fledex.Driver.Interface.terminate/2.

Link to this function

transfer(leds, counter, config)

View Source
@spec transfer([Fledex.Color.Types.colorint()], pos_integer(), map()) ::
  {map(), any()}

Callback implementation for Fledex.Driver.Interface.transfer/3.