We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm missing a close, unsubscribe, dispose, etc. function? How am I supposed to stop it?
The text was updated successfully, but these errors were encountered:
I think you're going to need to use Connect so that it returns to you a Context and a Disposable. See observable_operator.go:596.
Connect
Context
Disposable
observable_operator.go:596
// Connect instructs a connectable Observable to begin emitting items to its subscribers. func (o *ObservableImpl) Connect(ctx context.Context) (context.Context, Disposable) { ctx, cancel := context.WithCancel(ctx) o.Observe(WithContext(ctx), connect()) return ctx, Disposable(cancel) }
Once you have a Disposable, you have a cancel func to dispose of the subscription. See types.go:41.
types.go:41
// Disposable is a function to be called in order to dispose a subscription. Disposable context.CancelFunc
Sorry, something went wrong.
teivah
Successfully merging a pull request may close this issue.
I'm missing a close, unsubscribe, dispose, etc. function? How am I supposed to stop it?
The text was updated successfully, but these errors were encountered: