BootOptions
ts
type BootOptions = object;Defined in: boot.ts:19
Boot process configuration.
Properties
config?
ts
readonly optional config?: RuntimeConfig;Defined in: boot.ts:25
.NET runtime configuration.
create?
ts
readonly optional create?: (config) => Promise<RuntimeAPI>;Defined in: boot.ts:27
Creates .NET runtime instance.
Parameters
config
RuntimeConfig
Returns
Promise<RuntimeAPI>
export?
ts
readonly optional export?: (runtime) => Promise<void>;Defined in: boot.ts:33
Binds exported C# APIs.
Parameters
runtime
RuntimeAPI
Returns
Promise<void>
import?
ts
readonly optional import?: (runtime) => Promise<void>;Defined in: boot.ts:29
Binds imported C# APIs.
Parameters
runtime
RuntimeAPI
Returns
Promise<void>
resources?
ts
readonly optional resources?: BootResources;Defined in: boot.ts:23
Resources required to boot .NET runtime.
root?
ts
readonly optional root?: string;Defined in: boot.ts:21
Absolute path to the directory where boot resources are hosted (eg, /bin).
run?
ts
readonly optional run?: (runtime) => Promise<void>;Defined in: boot.ts:31
Starts .NET runtime.
Parameters
runtime
RuntimeAPI
Returns
Promise<void>