setup

Defer the creation of a Source/Flow until materialization and access Materializer and Attributes

Simple operators

Warning

The setup operator has been deprecated, use fromMaterializer instead.

Signature

Source.setupSource.setup Flow.setupFlow.setup

Description

Typically used when access to materializer is needed to run a different stream during the construction of a source/flow. Can also be used to access the underlying ActorSystem from ActorMaterializer.

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.