Retry.ifNotSent
Runs an operation, and again up to retries times while nothing it sent reached tmux.
Source and package
- Qualified name
-
LibTmux .FSharp .Retry. if Not Sent - Namespace
- LibTmux.FSharp
- Declared in
Retry- Package
- LibTmux.FSharp
- Source
- src/LibTmux.FSharp/Library.fsi
-
F# value signaturesDeclares the name and type of a value or function in a signature. ifNotSent: cancellationToken : CancellationToken -> retries: int -> operation: (CancellationToken -> Task<'T>) -> Task<'T> -
Description
An attempt is repeated only when it fails with
NotSentand no command it sent before that failure reached tmux, counting every command the operation awaits, including through nested retries. An operation of several steps whose first step ran is therefore not repeated because a later step was refused before dispatch. Any other failure, and cancellation, propagates at once. A read that is safe to repeat whatever happened belongs in the caller's own retry policy.- Parameters
-
-
operation((CancellationToken -> Task<'T>))
- Errors
-
-
System
.Argument – The retry count is negative.Out Of Range Exception
-
Same owner
containment 1 of 2 shownOther members of LibTmux.FSharp.Retry whose names share ifNotSent. They sit on the same type; that does not make them behave alike.
Recorded calls
source callsThe F# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.FSharp.Retry.ifNotSent.
Guides
task materialPages that discuss ifNotSent.