Join GitHub today
951 can model promises #956
This implements promise API for can.Model as mentioned in #951 . Docs are missing, but I'll add them if we agree on the implementation.
It adds the
It also implements deferred state for the model instances which gets updated when
It has a demo similar to one in the
I'm not sure where we would document this. Possibly stache.keys. The promises themselves are not observable by can.compute. Instead, the template engine creates a shim of the promise that is observable.
Sent from my iPhone