GitHub

TakeOptions

API reference for TakeOptions.

What a store's take needs from the queue: an element failing on attempt max_attempts is marked failed; before that it is retried after retry_delay(attempts).

Attributes

AttributeTypeDescription
namestr
max_attemptsint
retry_delayCallable[[int], Effect[Duration]]

Functions

__init__

__init__(*, name, max_attempts, retry_delay) -> None
ParameterTypeDescription
namestr
max_attemptsint
retry_delayCallable[[int], Effect[Duration]]