gen_queue v0.1.3 GenQueue.Adapter behaviour View Source

Link to this section Summary

Link to this section Types

Link to this section Callbacks

Link to this callback handle_flush(arg0, list) View Source
handle_flush(GenQueue.t(), list()) :: {:ok, integer()} | {:error, any()}
Link to this callback handle_pop(arg0, list) View Source
handle_pop(GenQueue.t(), list()) :: {:ok, any()} | {:error, any()}
Link to this callback handle_push(arg0, any, list) View Source
handle_push(GenQueue.t(), any(), list()) :: {:ok, any()} | {:error, any()}
Link to this callback handle_size(arg0, list) View Source
handle_size(GenQueue.t(), list()) :: {:ok, integer()} | {:error, any()}