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
class Subject: async def __aenter__(self): return self async def __aexit__(self, *args, **kwargs): await self.unsubscribe()
async with AsyncExitStack() as stack: nc = await nats.connect() await stack.enter_async_context(nc) await stack.enter_async_context(await nc.subscribe(...)) await stack.enter_async_context(await nc.subscribe(...))
No response
The text was updated successfully, but these errors were encountered:
On Subscription? but yes, pull request very welcome 👍
Subscription
Sorry, something went wrong.
caspervonb
No branches or pull requests
Proposed change
Use case
Contribution
No response
The text was updated successfully, but these errors were encountered: