This is a first step towards factoring Execution so that it does not know about the backend. This is a good cleanup regardless, because we separate the concern of caching from producing Futures from FlowDefs.
But I want to drive towards the Mode providing something to take a sequence of TypedPipe[T], TypedSink[T] pairs and returning a future Unit (and maybe counters) when they have all been written.
This is a first step towards factoring Execution so that it does not know about the backend. This is a good cleanup regardless, because we separate the concern of caching from producing Futures from FlowDefs.
But I want to drive towards the
Mode
providing something to take a sequence ofTypedPipe[T], TypedSink[T]
pairs and returning a futureUnit
(and maybe counters) when they have all been written.