Conduit v0.1.0 Conduit.Adapter behaviour

Defines the behavior for an adapter.

Summary

Types

setup()
setup :: [{atom, binary, Keyword.t}]
subscribers()
subscribers :: %{optional(atom) => {module, Keyword.t}}

Callbacks

publish(arg0, arg1)
publish(Conduit.Message.t, Keyword.t) ::
  {:ok, Conduit.Message.t} |
  {:error, binary}
start_link(setup, subscribers, arg2)
start_link(setup, subscribers, Keyword.t) :: pid