cartel v0.2.3 Cartel.Pusher behaviour

Cartel.Pusher Behaviour and OTP Supervisor managing Cartel.Pusher workers

Summary

Functions

Callback implementation for c::supervisor.init/1

Generate the registered process name for the requested app pusher

Callbacks

Callback for Pusher behaviour implementors

Functions

init(list)

Callback implementation for c::supervisor.init/1.

name(appid, type)

Specs

name(String.t, atom) :: atom

Generate the registered process name for the requested app pusher

start_link(args)

Callbacks

push(pid, message)

Specs

push(pid :: pid, message :: Cartel.Message.t) ::
  :ok |
  :error

Callback for Pusher behaviour implementors