# cp.rx.go.Last

A Statement that will complete after the only the last result resolves.


# API Overview

Constructors - API calls which return an object, typically one that offers API methods

  • Last

# API Documentation

# Constructors

# Last

Signature cp.rx.go.Last(resolvable) -> Last
Type Constructor
Description Creates a new Last Statement that will return the first value from the resolvable and complete.
Parameters
  • resolvable - a resolvable value, of which the first result will be returned.
Returns
  • The Statement which will return the first value when executed.
Notes
  • Example:
  • lua</li><li>Last(someObservable)</li><li>
Examples None
Source src/extensions/cp/rx/go/Last.lua line 8