From c89b4a188412b7184451e01bbf620d868f624bbe Mon Sep 17 00:00:00 2001 From: Matt Kohl Date: Thu, 4 Oct 2018 09:37:42 +0100 Subject: [PATCH] Documentation fixes (#25725) * tread -> thread --- .../main/categories/additional-sink-and-source-converters.md | 4 ++-- akka-docs/src/main/paradox/stream/operators/index.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/akka-docs/src/main/categories/additional-sink-and-source-converters.md b/akka-docs/src/main/categories/additional-sink-and-source-converters.md index 751230442a..ffa1e81282 100644 --- a/akka-docs/src/main/categories/additional-sink-and-source-converters.md +++ b/akka-docs/src/main/categories/additional-sink-and-source-converters.md @@ -5,7 +5,7 @@ dispatcher configured through the `akka.stream.blocking-io-dispatcher`. @@@ warning Be aware that `asInputStream` and `asOutputStream` materialize `InputStream` and `OutputStream` respectively as -blocking API implementation. They will block tread until data will be available from upstream. +blocking API implementation. They will block the thread until data will be available from upstream. Because of blocking nature these objects cannot be used in `mapMaterializeValue` section as it causes deadlock of the stream materialization process. For example, following snippet will fall with timeout exception: @@ -18,4 +18,4 @@ For example, following snippet will fall with timeout exception: }).run() ``` -@@@ \ No newline at end of file +@@@ diff --git a/akka-docs/src/main/paradox/stream/operators/index.md b/akka-docs/src/main/paradox/stream/operators/index.md index 365fe3a2d3..d70b227a34 100644 --- a/akka-docs/src/main/paradox/stream/operators/index.md +++ b/akka-docs/src/main/paradox/stream/operators/index.md @@ -74,7 +74,7 @@ dispatcher configured through the `akka.stream.blocking-io-dispatcher`. @@@ warning Be aware that `asInputStream` and `asOutputStream` materialize `InputStream` and `OutputStream` respectively as -blocking API implementation. They will block tread until data will be available from upstream. +blocking API implementation. They will block the thread until data will be available from upstream. Because of blocking nature these objects cannot be used in `mapMaterializeValue` section as it causes deadlock of the stream materialization process. For example, following snippet will fall with timeout exception: @@ -89,6 +89,7 @@ For example, following snippet will fall with timeout exception: @@@ + | |Operator|Description| |--|--|--| |StreamConverters|@ref[asInputStream](StreamConverters/asInputStream.md)|Create a sink which materializes into an `InputStream` that can be read to trigger demand through the sink.|