WasmtimePulleyExecution

Functions

Link copied to clipboard
open fun close()
Marks the execution closed and frees the Wasmtime store, module and engine.
Link copied to clipboard
Link copied to clipboard
open fun create(module: WasmModule, imports: ImportValues, hostInstance: Instance): PlatformInstanceExecution
open fun create(module: WasmModule, imports: ImportValues, hostInstance: Instance, targetName: String, precompiledModuleBytes: Array<Byte>): PlatformInstanceExecution
open fun create(module: WasmModule, imports: ImportValues, hostInstance: Instance, targetName: String, precompiledModuleBytes: Array<Byte>, maxMemoryBytes: Long, maxWasmStackBytes: Long, maxTableElements: Long, maxInstances: Long, maxTables: Long, maxMemories: Long, maxFuel: Long): PlatformInstanceExecution
Link copied to clipboard
open fun export(name: String): ExportFunction
Link copied to clipboard
open fun exportType(name: String): FunctionType
Link copied to clipboard
Link copied to clipboard
open fun memory(index: Int): Memory
open fun memory(name: String): Memory
Link copied to clipboard
open fun preview3CommandRunUnavailableReason(precompiledComponentBytes: Array<Byte>, hostPreopenRoots: Array<String>, guestPreopenRoots: Array<String>, writablePreopens: Array<Boolean>, arguments: Array<String>, environmentKeys: Array<String>, environmentValues: Array<String>, allowedHosts: Array<String>, blockedHosts: Array<String>, allowPrivateNetwork: Boolean, targetName: String, maxMemoryBytes: Long, maxWasmStackBytes: Long, maxTableElements: Long, maxInstances: Long, maxTables: Long, maxMemories: Long, maxFuel: Long, executionTimeoutMillis: Long): String
Link copied to clipboard
open fun preview3ComponentCall0UnavailableReason(precompiledComponentBytes: Array<Byte>, hostPreopenRoots: Array<String>, guestPreopenRoots: Array<String>, writablePreopens: Array<Boolean>, arguments: Array<String>, environmentKeys: Array<String>, environmentValues: Array<String>, allowedHosts: Array<String>, blockedHosts: Array<String>, allowPrivateNetwork: Boolean, targetName: String, exportName: String, maxMemoryBytes: Long, maxWasmStackBytes: Long, maxTableElements: Long, maxInstances: Long, maxTables: Long, maxMemories: Long, maxFuel: Long): String
open fun preview3ComponentCallS32UnavailableReason(precompiledComponentBytes: Array<Byte>, hostPreopenRoots: Array<String>, guestPreopenRoots: Array<String>, writablePreopens: Array<Boolean>, arguments: Array<String>, environmentKeys: Array<String>, environmentValues: Array<String>, allowedHosts: Array<String>, blockedHosts: Array<String>, allowPrivateNetwork: Boolean, targetName: String, exportName: String, argument: Int, expectedResult: Int, maxMemoryBytes: Long, maxWasmStackBytes: Long, maxTableElements: Long, maxInstances: Long, maxTables: Long, maxMemories: Long, maxFuel: Long): String
Link copied to clipboard
open fun preview3ComponentCallString(precompiledComponentBytes: Array<Byte>, hostPreopenRoots: Array<String>, guestPreopenRoots: Array<String>, writablePreopens: Array<Boolean>, arguments: Array<String>, environmentKeys: Array<String>, environmentValues: Array<String>, allowedHosts: Array<String>, blockedHosts: Array<String>, allowPrivateNetwork: Boolean, targetName: String, exportName: String, argument: String, maxMemoryBytes: Long, maxWasmStackBytes: Long, maxTableElements: Long, maxInstances: Long, maxTables: Long, maxMemories: Long, maxFuel: Long, executionTimeoutMillis: Long): String
open fun preview3ComponentCallString(precompiledComponentBytes: Array<Byte>, hostPreopenRoots: Array<String>, guestPreopenRoots: Array<String>, writablePreopens: Array<Boolean>, arguments: Array<String>, environmentKeys: Array<String>, environmentValues: Array<String>, allowedHosts: Array<String>, blockedHosts: Array<String>, allowPrivateNetwork: Boolean, targetName: String, exportName: String, argument: String, maxMemoryBytes: Long, maxWasmStackBytes: Long, maxTableElements: Long, maxInstances: Long, maxTables: Long, maxMemories: Long, maxFuel: Long, executionTimeoutMillis: Long, executionCancellationHandle: Long): String
open fun preview3ComponentCallStringUnavailableReason(precompiledComponentBytes: Array<Byte>, hostPreopenRoots: Array<String>, guestPreopenRoots: Array<String>, writablePreopens: Array<Boolean>, arguments: Array<String>, environmentKeys: Array<String>, environmentValues: Array<String>, allowedHosts: Array<String>, blockedHosts: Array<String>, allowPrivateNetwork: Boolean, targetName: String, exportName: String, argument: String, expectedResult: String, maxMemoryBytes: Long, maxWasmStackBytes: Long, maxTableElements: Long, maxInstances: Long, maxTables: Long, maxMemories: Long, maxFuel: Long): String
Link copied to clipboard
open fun preview3ComponentUnavailableReason(precompiledComponentBytes: Array<Byte>, hostPreopenRoots: Array<String>, guestPreopenRoots: Array<String>, writablePreopens: Array<Boolean>, arguments: Array<String>, environmentKeys: Array<String>, environmentValues: Array<String>, allowedHosts: Array<String>, blockedHosts: Array<String>, allowPrivateNetwork: Boolean, targetName: String, maxMemoryBytes: Long, maxWasmStackBytes: Long, maxTableElements: Long, maxInstances: Long, maxTables: Long, maxMemories: Long, maxFuel: Long): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun replenishFuel()
Restores metered execution fuel to the maximum configured when this execution was created.
Link copied to clipboard
open fun unavailableReason(targetName: String): String