Closed 0xgeert closed 10 years ago
depends on #7 (pouchDB) to be able to test async mode with real backend.
relates to #9 (async callbacks, general flow)
Completely implemented. e.g.:
{
"TODO_CREATE": {
fn: "onTodoCreate",
async: true,
optimistic: true
}
}
This transforms stream in promises (also in sync case). Moreover class must present
success
andfail
callbacks. Lastly, waitfor must be implemented declarativelyrelates to #1
async
raise warning when action-method hasresolve, reject
as parameters. (by inspection)async
raise warning when action-method has noresolve, reject
as parameters. (by inspection)