Last Operator

February 25, 2020 ยท View on GitHub

Overview

Emit only the last item emitted by an Observable.

Example

observable := rxgo.Just(1, 2, 3)().Last()

Output:

3

Options

  • WithBufferedChannel

  • WithContext

  • WithObservationStrategy

  • WithErrorStrategy

  • WithPublishStrategy

Contents

  1. 1Overview
  2. 2Example
  3. 3Options