Merge pull request #28727 from YikSanChan/patch-5

add missing full stop
This commit is contained in:
Renato Cavalcanti 2020-03-16 21:46:08 +01:00 committed by GitHub
commit 990ad57527
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -381,7 +381,7 @@ and emitting the "materialized value". An `ActorSystem` wide `Materializer` is p
`SystemMaterializer` by @scala[having an implicit `ActorSystem` in scope]@java[passing the `ActorSystem` to the `SystemMaterializer` by @scala[having an implicit `ActorSystem` in scope]@java[passing the `ActorSystem` to the
various `run` methods] this way there is no need to worry about the `Materializer` unless there are special requirements. various `run` methods] this way there is no need to worry about the `Materializer` unless there are special requirements.
The use case that may require a custom instance of `Materializer` is when all streams materialized in an actor should be tied to the Actor lifecycle and stop if the Actor stops or crashes The use case that may require a custom instance of `Materializer` is when all streams materialized in an actor should be tied to the Actor lifecycle and stop if the Actor stops or crashes.
An important aspect of working with streams and actors is understanding a `Materializer`'s life-cycle. An important aspect of working with streams and actors is understanding a `Materializer`'s life-cycle.
The materializer is bound to the lifecycle of the `ActorRefFactory` it is created from, which in practice will The materializer is bound to the lifecycle of the `ActorRefFactory` it is created from, which in practice will