Skip to content

Commit

Permalink
mention buffering in doc comment for VatNetwork::new()
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrensha committed Jun 1, 2024
1 parent 9a8b227 commit 3d4b78d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion capnp-rpc/src/twoparty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ where
T: AsyncRead + Unpin,
{
/// Creates a new two-party vat network that will receive data on `input_stream` and send data on
/// `output_stream`.
/// `output_stream`. (Typically, performance is best if these streams are buffered, possibly via
/// `futures::io::BufReader` and `futures::io::BufWriter`.)
///
/// `side` indicates whether this is the client or the server side of the connection. This has no
/// effect on the data sent over the connection; it merely exists so that `RpcNetwork::bootstrap` knows
Expand Down

0 comments on commit 3d4b78d

Please sign in to comment.