Complete Future (Effect) — skLambda
Addon: skLambda · Category: Effect · Since: 1.3.0
Syntax
complete %futures% with %object%Description
Resolves one or more futures with a value (or nothing), waking any trigger waiting on them. A future that is already resolved is left unchanged.
Examples
set {_f} to a new future
complete {_f} with "done"
complete {_pending::*} with 0