| SourceOperationsCompletionTimeoutTOut, TMat Method |
If the completion of the stream does not happen until the provided timeout, the stream is failed
with a
TimeoutException.
Emits when upstream emits an element
Backpressures when downstream backpressures
Completes when upstream completes or fails if timeout elapses before upstream completes
Cancels when downstream cancels
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Source<TOut, TMat> CompletionTimeout<TOut, TMat>(
this Source<TOut, TMat> flow,
TimeSpan timeout
)
[<ExtensionAttribute>]
static member CompletionTimeout :
flow : Source<'TOut, 'TMat> *
timeout : TimeSpan -> Source<'TOut, 'TMat>
Parameters
- flow
- Type: Akka.Streams.DslSourceTOut, TMat
TBD - timeout
- Type: SystemTimeSpan
TBD
Type Parameters
- TOut
- TBD
- TMat
- TBD
Return Value
Type:
SourceTOut,
TMatTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SourceTOut,
TMat. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also