vigetlabs / microcosm

Flux with actions at center stage. Write optimistic updates, cancel requests, and track changes with ease.
http://code.viget.com/microcosm/
MIT License
487 stars 29 forks source link

repo.parallel should support objects #449

Closed nhunzaker closed 6 years ago

nhunzaker commented 6 years ago

It would be awesome if we could do:

let group = repo.parallel({
  one: repo.push(actionOne),
  two: repo.push(actionTwo)
})

let { one, two } = await group