Class Pot.Deferred#iterate
Defined in: <pot.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Pot.Deferred#iterate(callback, (context))
Iterate an iterable object that is previous chain result.
|
Field Attributes | Field Name and Description |
---|---|
Iterates "iterate" loop with slower speed.
|
|
Iterates "iterate" loop with fast speed.
|
|
Iterates "iterate" loop with slowest speed.
|
|
Iterates "iterate" loop with fastest speed.
|
|
Iterates "iterate" loop with default speed.
|
|
Iterates "iterate" loop with faster speed.
|
|
Iterates "iterate" loop with slow speed.
|
Class Detail
Pot.Deferred#iterate(callback, (context))
Iterate an iterable object that is previous chain result.
Iteration will use the results of the previous chain.
- Parameters:
- {Function} callback
- An iterable function. function(value, key, object) this == `context`. Throw Pot.StopIteration if you want to stop the loop.
- {Object} (context)
- Optionally, context object. (i.e. this)
- Returns:
- {Deferred} Return the Deferred.
Field Detail
{Function}
doze
Iterates "iterate" loop with slower speed.
{Function}
fast
Iterates "iterate" loop with fast speed.
{Function}
limp
Iterates "iterate" loop with slowest speed.
{Function}
ninja
Iterates "iterate" loop with fastest speed.
{Function}
normal
Iterates "iterate" loop with default speed.
{Function}
rapid
Iterates "iterate" loop with faster speed.
{Function}
slow
Iterates "iterate" loop with slow speed.