BootOptions
ts
type BootOptions = object;Defined in: boot.ts:18
Boot process configuration.
Properties
config?
ts
readonly optional config: RuntimeConfig;Defined in: boot.ts:24
.NET runtime configuration.
create()?
ts
readonly optional create: (config) => Promise<RuntimeAPI>;Defined in: boot.ts:26
Creates .NET runtime instance.
Parameters
config
RuntimeConfig
Returns
Promise<RuntimeAPI>
export()?
ts
readonly optional export: (runtime) => Promise<void>;Defined in: boot.ts:32
Binds exported C# APIs.
Parameters
runtime
RuntimeAPI
Returns
Promise<void>
import()?
ts
readonly optional import: (runtime) => Promise<void>;Defined in: boot.ts:28
Binds imported C# APIs.
Parameters
runtime
RuntimeAPI
Returns
Promise<void>
resources?
ts
readonly optional resources: BootResources;Defined in: boot.ts:22
Resources required to boot .NET runtime.
root?
ts
readonly optional root: string;Defined in: boot.ts:20
Absolute path to the directory where boot resources are hosted (eg, /bin).
run()?
ts
readonly optional run: (runtime) => Promise<void>;Defined in: boot.ts:30
Starts .NET runtime.
Parameters
runtime
RuntimeAPI
Returns
Promise<void>