language.types · type ·
tunnel of T
A typed channel for sending and receiving values between pieces of work.
A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.
tunnel of TStatus: documented
Complete tunnels example
Use a tunnel when producers and consumers should communicate without sharing an unbounded mutable queue.
cpu · language · type checked
tunnel of text messages
messages.Send("Player joined")
text message = messages.Receive()
Console.Log(message)
project.mech
manifestVersion = "2"
package = "api.example.language__tunnels"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
Notes and source
demonhunterlabs/app/lib/yeho-language-reference.ts