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
No description provided.
The text was updated successfully, but these errors were encountered:
a first step towards #472
Sorry, something went wrong.
How would a modern API for Python 3.5+ using async/await etc look like? What would be expected / least surprising / feel natural?
I have gone back to the drawing table starting from above assumption. I'll post here.
CALLER:
import asyncio from autobahn.asyncio import wamp url = 'ws://localhost:8080/ws' realm = 'realm1' async def go(): async with wamp.connect(url) as transport: async with transport.join(realm) as session: result = await session.call('com.example.add2', 2, 3) print(result) loop = asyncio.get_event_loop() loop.run_until_complete(go())
subseded/fixed in #964
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: