Skip to content

onEnqueuedNextState does not return a subscription #999

New issue

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

Open
mfulton26 opened this issue Apr 28, 2025 · 0 comments
Open

onEnqueuedNextState does not return a subscription #999

mfulton26 opened this issue Apr 28, 2025 · 0 comments

Comments

@mfulton26
Copy link

The TypeScript types for Agent.prototype.onEnqueuedNextState() define the method's return type as Subscription but at runtime I'm observing undefined instead. Is there no ways to unsubscribe from enqueued next state events or is this a bug and a subscription can be made to be returned at runtime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant