//! Serve the shared example handlers in a browser or Node Worker.
//!
//! The JavaScript host creates a `MessageChannel` and transfers one port to
//! the Worker. After loading the wasm-bindgen output, the Worker passes that
//! port to [`serve`]. Build the Rust half with:
//!
//! ```text
//! cargo build -p lspf --example worker_channel \
//! --target wasm32-unknown-unknown --no-default-features \
//! --features worker-channel
//! ```
use *;
use MessagePort;
/// Serve one transferred `MessagePort` until its LSP connection ends.
pub async