Deprecate auto-fusing setting #22431

This commit is contained in:
Johan Andrén 2017-03-15 09:15:18 +01:00 committed by GitHub
parent 740c68873c
commit 60d918c490
7 changed files with 19 additions and 2 deletions

View file

@ -433,6 +433,7 @@ final class ActorMaterializerSettings private (
* this may cause an initial runtime overhead, but most of the time fusing is
* desirable since it reduces the number of Actors that are created.
*/
@deprecated(since = "2.5.0", message = "Turning off fusing is no longer possible with the traversal based materializer")
def withAutoFusing(enable: Boolean): ActorMaterializerSettings =
if (enable == this.autoFusing) this
else copy(autoFusing = enable)