Clock from the factory options.
Inbound envelope (already matched by exact type).
Seeded generator shared by the mock instance.
Runtime context when attached via onRegistered.
Raw send callback supplied by the runtime for this request.
Mutable mock state.
Requesting napplet window.
Send ${message.type}.result with { id, error } and any extra fields.
Optionalfields: Record<string, unknown>Push an arbitrary envelope to this window (immediately or after latency).
Send ${message.type}.result carrying the request id and fields.
Honors latencyMs from the factory options.
Optionalfields: Record<string, unknown>
Per-request context handed to a route.
Example