Express v1.0.0 Express.FCM.Worker View Source

Incapsulates work with FCM logic. Exists temporary: until work with FCM finished.

Link to this section Summary

Functions

Pushes a push message via worker with specified delay

Link to this section Functions

Link to this function push(worker, delay \\ 0) View Source
push(pid, pos_integer) ::
  reference |
  :ok |
  :noconnect |
  :nosuspend |
  true

Pushes a push message via worker with specified delay.

Link to this function start_link(state) View Source
start_link(Express.FCM.Worker.State.t) ::
  {:ok, pid} |
  :ignore |
  {:error, {:already_started, pid} | any}