MCPcopy Create free account
hub / github.com/ReactiveX/RxGo / IgnoreElements

Method IgnoreElements

observable_operator.go:1187–1191  ·  view source on GitHub ↗

IgnoreElements ignores all items emitted by the source ObservableSource except for the errors. Cannot be run in parallel.

(opts ...Option)

Source from the content-addressed store, hash-verified

1185// IgnoreElements ignores all items emitted by the source ObservableSource except for the errors.
1186// Cannot be run in parallel.
1187func (o *ObservableImpl) IgnoreElements(opts ...Option) Observable {
1188 return observable(o.parent, o, func() operator {
1189 return &ignoreElementsOperator{}
1190 }, true, false, opts...)
1191}
1192
1193type ignoreElementsOperator struct{}
1194

Callers

nothing calls this directly

Calls 1

observableFunction · 0.85

Tested by

no test coverage detected