You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When returning a promise from an eventual send, if the target of the send was unfulfilled and had an unfulfilled handler, the result should share the same unfulfilled handler until it is fulfilled. Thus the result must also be a handled promise, not an unhandled promise.
This allows the unfulfilled handler to be the coordinator for all promise chains involving the same logical destination, and thereby to perform pipelining.
If the promise resolves to a presence, the fulfilled handler takes over the task of coordinator.
The text was updated successfully, but these errors were encountered:
michaelfig
changed the title
Chaining unfulfilled Promises must result in handled Promises
Chaining unfulfilled handled Promises must share the handler
Jul 31, 2019
When returning a promise from an eventual send, if the target of the send was unfulfilled and had an unfulfilled handler, the result should share the same unfulfilled handler until it is fulfilled. Thus the result must also be a handled promise, not an unhandled promise.
This allows the unfulfilled handler to be the coordinator for all promise chains involving the same logical destination, and thereby to perform pipelining.
If the promise resolves to a presence, the fulfilled handler takes over the task of coordinator.
The text was updated successfully, but these errors were encountered: