cujojs / most

Ultra-high performance reactive programming
MIT License
3.49k stars 231 forks source link

Add note about forever pending promises #525

Closed briancavalier closed 5 years ago

briancavalier commented 5 years ago

Summary

Close #524

Document the behavior when awaitPromises encounters a forever pending promise. This behavior is implied in the existing documentation, in that event order is preserved. However, it may not be obvious to some that preserving order implies that a forever-pending promise will prevent all subsequent events. This PR adds an explicit section that hopefully will help to make it clear.

Equivalent change for @most/core: https://github.com/mostjs/core/pull/256