webtasks.tasks
Asynchronous tasks for ClojureScript
add-task
(add-task chan)
(add-task chan task)
add-task!
(add-task! chan task)
catch
(catch d error-handler)
chain
(chain d)
(chain d e)
(chain d e & fs)
deferred
(deferred)
(deferred d)
(deferred d success-fn)
(deferred d success-fn error-fn)
deferred-persistent
(deferred-persistent id)
deferred-persistent?
(deferred-persistent? d)
deferred-transient?
(deferred-transient? d)
error-fn-default
(error-fn-default v)
finally
(finally d final-fn)
get-all-deferreds
(get-all-deferreds)
get-deferred
(get-deferred d)
idle
(idle task chan value)
on-realized
(on-realized d success-fn)
(on-realized d success-fn error-fn)
on-realized-default
(on-realized-default d success-fn-default)
(on-realized-default d success-fn-default error-fn-default)
on-stopping
(on-stopping f)
operation
(operation task chan value)
realize
(realize result d v)
remove-deferred!
(remove-deferred! d)
remove-task
(remove-task chan)
remove-task!
(remove-task! chan)
remove-task-by-id
(remove-task-by-id id)
set-deferred!
(set-deferred! d success-fn error-fn & [connect])
success!
(success! d v & [no-retry])
success-fn-default
(success-fn-default v)
timeout
(timeout f)
(timeout f msec)
timeout!
(timeout! d msec & [timeout-val])
update-in-task
(update-in-task chan korks f v)
zip
(zip d)
(zip d e)
(zip d e & fs)