Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,12 @@ ways over UDP against iroh v1.0.3, and against n0's production relay
infrastructure over wss. `endpoint-demo/` is the first consumer,
composed via `wac plug` and driven by
`host-wasmtime/src/bin/endpoint-demo.rs`. Internally: one detached pump
task per bound endpoint owns all I/O, and resource methods observe its
consequences by bounded polling on the clock import (cross-task wakeups
have no channel that works on every host today; see the issues). The
task per bound endpoint owns all I/O, and wake-ups are event-driven in
both directions — resource methods kick the pump to flush their
mutations and park on wakers the pump fires (cross-task wakeups ride
wit-bindgen's `inter-task-wakeup` channel, delivered by both hosts;
the bench asserts the endpoint handshake stays within a fixed margin
of the single-task spike's). The
JS host for this surface is `host-deltic/`: it drives the endpoint
component runtime-linked under [deltic](https://github.com/lann/deltic)
on stock Deno (no transpile step, no engine flag) — the jco host this
Expand Down
2 changes: 1 addition & 1 deletion endpoint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rustls = { version = "=0.23.43", default-features = false, features = ["std", "c
getrandom = "0.4"
bytes = "1"
hex = "0.4"
wit-bindgen = { version = "0.59", features = ["async", "async-spawn"] }
wit-bindgen = { version = "0.59", features = ["async", "async-spawn", "inter-task-wakeup"] }
futures = { version = "0.3", default-features = false, features = ["async-await", "std"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand Down
Loading