Count Operator

February 25, 2020 ยท View on GitHub

Overview

Count the number of items emitted by the source Observable and emit only this value.

Example

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

Output:

3

Options

  • WithBufferedChannel

  • WithContext

  • WithObservationStrategy

  • WithErrorStrategy

  • WithPublishStrategy

Contents

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