Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 810 Bytes

fromeventsource.md

File metadata and controls

30 lines (17 loc) · 810 Bytes

FromEventSource Operator

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