Merge Operator

February 25, 2020 ยท View on GitHub

Overview

Combine multiple Observables into one by merging their emissions.

Example

observable := rxgo.Merge([]rxgo.Observable{
	rxgo.Just(1, 2)(),
	rxgo.Just(3, 4)(),
})

Output:

1
2
3
4

Options

  • WithBufferedChannel

  • WithContext

  • WithObservationStrategy

  • WithErrorStrategy

  • WithPublishStrategy

Contents

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