These are chat archives for akkadotnet/AkkaStreams

12th
Nov 2018
Boban
@bobanco
Nov 12 2018 13:01
Hi Guys, @Horusiath , @marcpiechura how would you convert this line from scala? source.via(transformer) → promise.future
Marc Piechura
@marcpiechura
Nov 12 2018 13:12
@bobanco looks like promise.future is used as materialzed value so I would try to call MapMaterialzedValue or something similar after .Via
Vasily Kirichenko
@vasily-kirichenko
Nov 12 2018 13:48
@bobanco that's a tuple constructor syntax, so it would be (source.Via(transformer), promise.future) in C#/F#.
and promise can be converted to CompletionSource
Boban
@bobanco
Nov 12 2018 14:15
thank you guys
Marc Piechura
@marcpiechura
Nov 12 2018 14:16
One shouldn’t try to understand code in 5 minutes on the phone, @vasily-kirichenko is right 😉
Boban
@bobanco
Nov 12 2018 14:25
@marcpiechura no worries, its sorted, thanks @vasily-kirichenko , i wasnt sure if its tupple constructor or someoperator
in akka streams