0.0.24 • Published 2 years ago
rxjs-wait-next v0.0.24
rxjs-wait-next
Wait RxJS Subject.next emition for all subscribers
How it works
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
Examples
See https://github.com/darky/rxjs-wait-next/blob/master/test.ts
Limitation
- Works on Node.js only, it's uses
AsyncLocalStorage