Add upcast/cast_as to DynamicCapability. Also changed EventLoop.

wait_remote -> wait
This commit is contained in:
Jason Paryani
2013-11-12 20:28:23 -08:00
parent 496a126671
commit 5251cb5575
7 changed files with 50 additions and 19 deletions

View File

@@ -18,7 +18,7 @@ def example_client():
cap = cap.cast_as(test_capnp.TestInterface)
remote = cap.foo(i=5)
response = loop.wait_remote(remote)
response = loop.wait(remote)
assert response.x == 'foo'