Skip to main content

TOKIO_RUNTIME

Constant TOKIO_RUNTIME 

Source
pub const TOKIO_RUNTIME: ServiceKey<Handle>;
Expand description

The service key for the Host’s tokio runtime handle.

The key’s id is promptforge/tokio-runtime. The fetch tool spawns every promptforge/web/fetch call onto the runtime registered under this key.