Skip to content

Commit

Permalink
Merge pull request #492 from SteveLauC/docs/run_RpcSystem
Browse files Browse the repository at this point in the history
docs: remove usage of deprecated tokio_core in docs
  • Loading branch information
dwrensha authored May 7, 2024
2 parents 528b64b + ab342b3 commit c9df2bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions capnp-rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ pub trait VatNetwork<VatId> {
/// will need to have more sophisticated `VatNetwork` implementations, in order to support
/// [level 3](https://capnproto.org/rpc.html#protocol-features) features.
///
/// An `RpcSystem` is a `Future` and needs to be driven by a task executor. A common way
/// accomplish that is to pass the `RpcSystem` to `tokio_core::reactor::Handle::spawn()`.
/// An `RpcSystem` is a non-`Send`able `Future` and needs to be driven by a task
/// executor. A common way accomplish that is to pass the `RpcSystem` to
/// `tokio::task::spawn_local()`.
#[must_use = "futures do nothing unless polled"]
pub struct RpcSystem<VatId>
where
Expand Down

0 comments on commit c9df2bb

Please sign in to comment.