-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In my initial draft, I have 3 functions:
run_on_each: concurrent map, with results optionally directed to aSendChannel, no return valueamap: concurrent map,async withcalling convention, with results provided as an async iterablerun_all: concurrent call-all-these-callables, with results provided at the end as a list
I'm not at all sure that these three are the right set to provide, or that we have the names right.
I guess there's a two-dimensional space of calling conventions:
- Input handling: fn+iterable (map style) vs. iterable-of-fns (gather-style)
- Output handling: discard vs. send-on-channel vs. async-with-returning-async-iterable vs.
nursery.start-returning-async-iterable vs. big-list-at-end
So in principle there are 2*5 = 10 functions we could provide here... but that's way too many and too confusing, so we need to cut it down somehow.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels