FromEventSource Operator

February 25, 2020 ยท View on GitHub

Overview

Create a hot observable from a channel.

The items are consumed as soon as the observable is created. An Observer will see only the items since the moment he subscribed to the Observable.

Example

ch := make(chan rxgo.Item)
observable := rxgo.FromEventSource(ch)

Options