RuntimeConfig
Defined in: packages/runtime/src/platform/types.ts:223
Construction-time config for a Runtime.
Remarks
Section titled “Remarks”Passed to the platform factories (createNodeCapabilities wrappers like nodeRuntime, etc.) at the time the Runtime is built — NOT per-boot. For per-boot options, see BootOpts.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”capabilities?
Section titled “capabilities?”
optionalcapabilities?:Partial<PlatformCapabilities>
Defined in: packages/runtime/src/platform/types.ts:233
Selectively override individual PlatformCapabilities methods.
Remarks
Section titled “Remarks”Merged over the platform defaults via { ...defaults, ...overrides } —
any method you supply replaces the default. Useful for tests that want
to spy on fetch without reimplementing the others, or for hosts that
have a stricter importEsm (e.g. a sandboxed iframe).