You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using AsyncIoStream, I've tried to use wait_closed() after closing the connection. However, doing so results in an error since it seems like a non-existent attribute is being referenced:
File "/tmp/a/capnp-async-connection.py", line 12, in main
await connection.wait_closed()
File "capnp/lib/capnp.pyx", line 2414, in wait_closed
AttributeError: 'capnp.lib.capnp._PyAsyncIoStreamProtocol' object has no attribute 'closed_future'
The below should be a fairly minimal reproduction of the issue, assuming there's a server running on the relevant hostname and port:
When using
AsyncIoStream
, I've tried to usewait_closed()
after closing the connection. However, doing so results in an error since it seems like a non-existent attribute is being referenced:The below should be a fairly minimal reproduction of the issue, assuming there's a server running on the relevant hostname and port:
Am I using
wait_closed()
incorrectly, or is this a bug inpycapnp
?The text was updated successfully, but these errors were encountered: