dawdle v0.1.0 Dawdle.Backend behaviour View Source

Behaviour module for Dawdle backend implementation

Link to this section Summary

Link to this section Types

Link to this type callback() View Source
callback() :: (message() -> any())

Link to this section Callbacks

Link to this callback send(message, non_neg_integer) View Source
send(message(), non_neg_integer()) :: :ok | {:error, term()}
Link to this callback start_link(callback) View Source
start_link(callback()) :: {:ok, pid()}