Skip to content

Commit f1f8dea

Browse files
lannlukewagner
authored andcommitted
Add note about linking client to handler
1 parent 3d378ca commit f1f8dea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wit-0.3.0-draft/worlds.wit

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ interface handler {
6969
/// The type signature of `client.send` is the same as `handler.handle`. This
7070
/// duplication is currently necessary because some Component Model tooling
7171
/// (including WIT itself) is unable to represent a component importing two
72-
/// instances of the same interface.
72+
/// instances of the same interface. A `client.send` import may be linked
73+
/// directly to a `handler.handle` export to bypass the network.
7374
interface client {
7475
use types.{request, response, error-code};
7576

0 commit comments

Comments
 (0)