Wait RxJS Subject.next emition for all subscribers
rxjs-wait-next listens all subscriptions emissions
When all emissions happens, it's resolved
Some operators, like filter
, may interfere to emissions happens and need to use manual emission in this case via resolveSubscription
See https://github.com/darky/rxjs-wait-next/blob/master/test.ts
- Works on Node.js only, it's uses
AsyncLocalStorage