Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
39 lines (29 loc) · 1.5 KB

cp.rx.go.Do.Then.md

File metadata and controls

39 lines (29 loc) · 1.5 KB

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)

API Overview

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

API Documentation

Methods

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