Jump to content

Listening to multiple signals? (or: Promise.all() equivalent for signals)


QLNEO
 Share

Recommended Posts

I read somewhere (can't remember where right now) that Signals are just wrappers for Promises. Is there a way to do something like Promise.all() but with Signals? That is, firing an event listener after every signal in a list of signals is sent? Or do I have to create a Promise to wrap these signals?

(That question could be extended to Promise.race() as well)

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...