Skip to main content

Module host

Module host 

Source
Expand description

Local probes borrow an explicitly selected server; the launcher owns its process.

Constants§

LIMITS
Transport bounds for the fixed probe controls.

Functions§

instance
Create an instance on the explicitly supplied external server. Never discovers/downloads a binary, starts a server or creates a Tokio runtime. Call the upstream async drop explicitly to attempt deletion. The external launcher owns shutdown, including after a test panic; deletion is best-effort.
upgrade_stopped
Upgrade a local fixture only after the IC has completed its stop request. Platform’s suspended futures are heap-local; they are never migrated. Restart also follows a refused atomic upgrade so callers can inspect the preserved predecessor. PocketIC owns each management operation.