OnErrorReturnItem instructs on Observable to emit an item if it encounters an error.
(resume interface{}, opts ...Option)
| 1658 | |
| 1659 | // OnErrorReturnItem instructs on Observable to emit an item if it encounters an error. |
| 1660 | func (o *ObservableImpl) OnErrorReturnItem(resume interface{}, opts ...Option) Observable { |
| 1661 | return observable(o.parent, o, func() operator { |
| 1662 | return &onErrorReturnItemOperator{resume: resume} |
| 1663 | }, true, false, opts...) |
| 1664 | } |
| 1665 | |
| 1666 | type onErrorReturnItemOperator struct { |
| 1667 | resume interface{} |
nothing calls this directly
no test coverage detected