Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

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