Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 324 Bytes

send.md

File metadata and controls

27 lines (19 loc) · 324 Bytes

Send Operator

Overview

Send the Observable items to a given channel that will closed once the operation completes.

Example

ch := make(chan rxgo.Item)
rxgo.Just(1, 2, 3)().Send(ch)
for item := range ch {
	fmt.Println(item.V)
}

Output:

1
2
3

Options