canjs / can-zone

A context for tracking asynchronous activity in JavaScript applications.
https://v4.canjs.com/doc/can-zone.html
MIT License
92 stars 4 forks source link

Implement canWait.data #7

Closed matthewp closed 9 years ago

matthewp commented 9 years ago

Called like:

canWait.data(promise);

Which will wait on the Promise to complete and save the value as a response of the request. Closes #2