See the dojox/lang/async reference documentation for more information.
Executes functions in parallel. As soon as one of them finishes cancels the rest.
Parameter | Type | Description |
---|---|---|
x | undefined |
Executes a condition, waits for it if necessary, and executes one of two functions.
Parameter | Type | Description |
---|---|---|
cond | undefined | |
ifTrue | undefined | |
ifFalse | undefined |
Executes a condition, waits for it if necessary, and executes the body, if truthy value was returned. Then it repeats the cycle until the condition function returns a falsy value.
Parameter | Type | Description |
---|---|---|
cond | undefined | |
body | undefined |
Executes functions in parallel. Waits for all of them to finish.
Parameter | Type | Description |
---|---|---|
x | undefined |
Executes a condition, waits for it if necessary, and executes Nth function from list.
Parameter | Type | Description |
---|---|---|
cond | undefined | |
x | undefined |
Executes functions sequentially. Waits if any of them returns Deferred.
Parameter | Type | Description |
---|---|---|
x | undefined |