Do
A Statement that will execute the provided
resolvable
values. This will resolve the provided values into Observables and pass on the first result of each to the next stage as individual parameters. This will continue until one of the Observables
has completed, at which point other results from values are ignored.For example:
Do(Observable.of(1, 2, 3), Observable.of("a", "b"))
:Now(function(number, letter) print(tostring(number)..letter))
This will result in:
1a
2b
Signature | cp.rx.go.Do(...) -> Do |
Type | Constructor |
Description | Begins the definition of a Do Statement . |
Parameters |
|
Returns |
|
Signature | cp.rx.go.Do:Then(...) -> Do.Then |
Type | Method |
Description | Call this to define what will happen once the Do values resolve successfully. |
Parameters |
|
Returns |
Last modified 1yr ago