| SourceFromTaskT Method |
Start a new
SourceTOut, TMat from the given
TaskTResult. The stream will consist of
one element when the
TaskTResult is completed with a successful value, which
may happen before or after materializing the
IFlowTOut, TMat.
The stream terminates with a failure if the task is completed with a failure.
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Source<T, NotUsed> FromTask<T>(
Task<T> task
)
static member FromTask :
task : Task<'T> -> Source<'T, NotUsed>
Parameters
- task
- Type: System.Threading.TasksTaskT
TBD
Type Parameters
- T
- TBD
Return Value
Type:
SourceT,
NotUsedTBD
See Also