These are chat archives for akkadotnet/AkkaStreams

3rd
Dec 2016
Sean Farrow
@SeanFarrow
Dec 03 2016 13:49
@silv3rcircl3 Ok, that makes sense. Do flows create stages/use stages internally?
Marc Piechura
@marcpiechura
Dec 03 2016 17:36
@SeanFarrow internally everything is a GraphStage and every stage has a Shape which can be a Source, Flow, Sink or BidiShape
So every Flow is a stage but not every stage is a Flow ;-)
Sean Farrow
@SeanFarrow
Dec 03 2016 17:37
Also, are there any examples of using a Also, Also, what is the best way of calling an async api within a GraphLogicStage, where the return value is the TOut of the flow shape?
Marc Piechura
@marcpiechura
Dec 03 2016 17:41
Maybe in the docs, I'm not sure. By "GraphLogicShape" you mean the GraphLogic class you create when you build your own stage?
Sean Farrow
@SeanFarrow
Dec 03 2016 20:19
Yep, I've got this working now! The only other thing to consider, is should I fail the stage wit hthe AggregateException the Task I'm using presents or should I use the first exception? Anmy best practives?
Marc Piechura
@marcpiechura
Dec 03 2016 20:46
You could take a look at the SelectAsync stage for best practice, I think we fail the stream with task.Exception but I'm not 100 sure
Sean Farrow
@SeanFarrow
Dec 03 2016 21:17
@silv3rcircl3 Yes you do. Thanks!
Sean Farrow
@SeanFarrow
Dec 03 2016 22:58
I am unable to use the InAndOutGraphStageLogic class. According to version 1.1.2.30-beta, this class does not exist. Was this class added after this version was published?