Click or drag to resize
Akka.NETStreamConvertersAsOutputStream Method
Creates a SourceTOut, TMat which when materialized will return an Stream which it is possible to write the ByteStrings to the stream this Source is attached to. This Source is intended for inter-operation with legacy APIs since it is inherently blocking. You can configure the default dispatcher for this Source by changing the "akka.stream.blocking-io-dispatcher" or set it for a given Source by using CreateDispatcher(String). The created Stream will be closed when the SourceTOut, TMat is cancelled, and closing the Stream will complete this SourceTOut, TMat.

Namespace:  Akka.Streams.Dsl
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static Source<ByteString, Stream> AsOutputStream(
	Nullable<TimeSpan> writeTimeout = null
)

Parameters

writeTimeout (Optional)
Type: SystemNullableTimeSpan
The max time the write operation on the materialized OutputStream should block, defaults to 5 seconds

Return Value

Type: SourceByteString, Stream
TBD
See Also