# 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

  • Then

# API Documentation

# Methods

# 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
  • ... - The list of resolvable values to process.
Returns
Notes None
Examples None
Source src/extensions/cp/rx/go/Do.lua line 96