#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)

#API Overview

Methods - API calls which can only be made on an object returned by a constructor


#API Documentation

#Methods

Signaturecp.rx.go.Do.Then:Then(...) -> Do.Then
TypeMethod
DescriptionAllows another set of resolvables to be processed after a Then has resolved.
Parameters
  • ... - The list of resolvable values to process.
Returns
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/rx/go/Do.lua line 96