 | SubFlowOperations.InitialTimeout<TOut, TMat, TClosed> Method |
If the first element has not passed through this stage before 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 first element arrives
Cancels when downstream cancels
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic static SubFlow<TOut, TMat, TClosed> InitialTimeout<TOut, TMat, TClosed>(
this SubFlow<TOut, TMat, TClosed> flow,
TimeSpan timeout
)
[<ExtensionAttribute>]
static member InitialTimeout :
flow : SubFlow<'TOut, 'TMat, 'TClosed> *
timeout : TimeSpan -> SubFlow<'TOut, 'TMat, 'TClosed>
Parameters
- flow
- Type: Akka.Streams.Dsl.SubFlow<TOut, TMat, TClosed>
TBD - timeout
- Type: System.TimeSpan
TBD
Type Parameters
- TOut
- TBD
- TMat
- TBD
- TClosed
- TBD
Return Value
Type:
SubFlow<TOut,
TMat,
TClosed>TBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SubFlow<TOut,
TMat,
TClosed>. 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