Commit bc0b20fb authored by David Renshaw's avatar David Renshaw

update some comments

parent b0599220
......@@ -90,7 +90,7 @@ class EzRpcClient {
// Some of these restrictions will probably be lifted in future versions, but some things will
// always require using the low-level interfaces directly. If you are interested in working
// at a lower level, start by looking at these interfaces:
// - `kj::startAsyncIo()` in `kj/async-io.h`.
// - `kj::setupAsyncIo()` in `kj/async-io.h`.
// - `RpcSystem` in `capnp/rpc.h`.
// - `TwoPartyVatNetwork` in `capnp/rpc-twoparty.h`.
......
......@@ -473,7 +473,7 @@ AsyncIoContext setupAsyncIo();
//
// // And we can wait for the promise to complete. Note that you can only use `wait()`
// // from the top level, not from inside a promise callback.
// String text = textPromise.wait();
// String text = textPromise.wait(ioContext.waitScope);
// print(text);
// return 0;
// }
......
......@@ -597,7 +597,7 @@ class EventLoop {
// return 0;
// }
//
// Most applications that do I/O will prefer to use `setupIoEventLoop()` from `async-io.h` rather
// Most applications that do I/O will prefer to use `setupAsyncIo()` from `async-io.h` rather
// than allocate an `EventLoop` directly.
public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment