Closed Daenyth closed 4 years ago
This is so that calling code that wishes to discard mat values can do .mapMaterializedValue(_ => NotUsed). Currently it must use .mapMaterializedValue(_ => NotUsed: NotUsed) because the former infers the type to be Source[A, NotUsed.type]
.mapMaterializedValue(_ => NotUsed)
.mapMaterializedValue(_ => NotUsed: NotUsed)
Source[A, NotUsed.type]
This is so that calling code that wishes to discard mat values can do
.mapMaterializedValue(_ => NotUsed)
. Currently it must use.mapMaterializedValue(_ => NotUsed: NotUsed)
because the former infers the type to beSource[A, NotUsed.type]