View Source Jackalope.TransientWorkList (jackalope v0.9.0)

A simple work list that does not survive across reboots.

Summary

Types

@type t() :: %Jackalope.TransientWorkList{
  expiration_fn: term(),
  items: list(),
  max_size: non_neg_integer(),
  pending: term()
}

Functions

Link to this function

new(expiration_fn, update_expiration_fn, max_size \\ 100, opts \\ [])

View Source
@spec new(function(), function(), non_neg_integer(), Keyword.t()) :: t()

Create a new work list