Open hurrymaplelad opened 10 years ago
Realized changes would be pretty much entirely in core node-fibers. Opened an issue there to discuss. Might make sense to layer on A+ support as a separate module, and consume that module in fibrous if folks are into it.
Confirmed from the fibers author, doesn't belong in core fibers, but would makes sense as a separate modules.
How's a new fibers-aplus module sound? It'd extend fibers/future
with a Promises/A+ interface, and extend Future.wait
to accept any A+ promise.
Imagine, webdriver checks run in parallel:
It's possible today with:
but it could be cleaner. Any reason not to have fibrous futures comply with Promises/A+, and have
fibrous.wait
accept any A+ promise?