docs » cp.rx.go.Do.Then
A Statement.Modifier of Do
that defines what happens after the Do
values resolve.
For example:
Do(anObservable):Then(Observable.of(1, 2, 3))
If a parameter is a function
, it will be passed the results of the previous Do
or Then
parameters.
For example:
Do(anObservable, anotherObservable)
:Then(function(aResult, anotherResult)
doSomethingWith(aResult, anotherResult)
return true
end)
- Methods - API calls which can only be made on an object returned by a constructor
- Then
Signature | cp.rx.go.Do.Then:Then(...) -> Do.Then |
---|---|
Type | Method |
Description | Allows another set of resolvables to be processed after a Then has resolved. |
Parameters |
|
Returns |
|