{"id":"word--emit","name":"emit","owner":"yeho","package":"language","kind":"keyword","signature":"emit","description":"Deferred syntax; call a function or send through a tunnel","context":"Use the replacement that makes ownership and flow explicit. Revisit dedicated syntax only after it earns a compiler, runtime, and verification contract.","parameters":[],"returns":"","members":[],"tags":["boundaries","cpu","keyword","language","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"parser_core.cpp and parser_statements.cpp rejection diagnostics; language-core.md §13.4"},"status":"unavailable","notes":["panic, assert, fatal, exception subclasses, and finally are not admitted error syntax.","Dedicated event, emit, and watch syntax is deferred in favor of ordinary values, functions, tasks, and tunnels."],"examples":[{"id":"complete","title":"Complete program","description":"A complete supported message handoff. event/emit/watch/channel are unavailable spellings; tunnel is the working alternative.","code":"// Event declarations are unavailable. Use the admitted tunnel contract.\ntunnel of text notices\nnotices.Send(\"player ready\")\ntext message = notices.Receive()\nConsole.Log(message)\n","tags":["cpu","language"],"run":"cpu-oracle","expected":null,"verifyRun":false,"manifest":"manifestVersion = \"2\"\npackage = \"api.example.word__emit\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","verification":"type checked","sha256":"5e5aad35fa9221b776de01f7f515d8c6a636453e34edef00fbd58b634b953279","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=word--emit","json":"https://demonhunterlabs.com/reference/items/word--emit.json","markdown":"https://demonhunterlabs.com/reference/text/word--emit.md"}
