Skip to main content

Module host_call

Module host_call 

Source
Expand description

HostCalls — how the engine hands the host something only the host can do, and waits for its one answer: a tool the host declared, or a hook a host connection registered. Both share the wait, timeout, cancellation and disconnect handling; a call that names its HostId is answered by that connection alone.

Structs§

HostCall
One call put to the host.
HostId
The host connection that provides a tool or a hook, rather than the session’s watchers at large.
HostToolDecl
A tool the host declared for a session: the model is offered it as it is offered any other, and calling it goes to the host.

Enums§

HostCallEnd
How a call to the host ended.
HostCallKind
HostReply
What the host said.

Traits§

HostCalls