RetryModule

PackageFCQRS.Workflows
Common retry policies.

Summary

NameSignatureSynopsis
nonenone One attempt.
timestimes attemptsAt most `attempts` attempts, with backoff from one second to one minute.
foreverforever deadlineRetries with backoff until `deadline` has passed since the step was first reached.
commandcommand The policy `send` uses: send again when no reply came in time, with backoff, for five minutes.

none

none
Member
One attempt.

Returns

RetryPolicy

times

times attempts
Member
At most `attempts` attempts, with backoff from one second to one minute.

Parameters

NameTypeDescription
attemptsint

Returns

RetryPolicy

forever

forever deadline
Member
Retries with backoff until `deadline` has passed since the step was first reached.

Parameters

NameTypeDescription
deadlineTimeSpan

Returns

RetryPolicy

command

command
Member
The policy `send` uses: send again when no reply came in time, with backoff, for five minutes.

Returns

RetryPolicy