Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
/ rxjs-wait-next Public archive

Wait RxJS Subject.next emition for all subscribers

License

Notifications You must be signed in to change notification settings

darky/rxjs-wait-next

Repository files navigation

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

About

Wait RxJS Subject.next emition for all subscribers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published