@celox-sim/celox / index / WasmFrontendSimulatorHandle
Interface: WasmFrontendSimulatorHandle
Defined in: packages/celox/src/types.ts:139
Raw simulator handle returned by a frontend-owned WASM addon.
Extends
FrontendSimulatorHandleMetadata
Properties
dump?
optionaldump?:undefined
Defined in: packages/celox/src/types.ts:154
evalComb?
optionalevalComb?:undefined
Defined in: packages/celox/src/types.ts:153
eventsJson
readonlyeventsJson:string
Defined in: packages/celox/src/types.ts:107
Inherited from
FrontendSimulatorHandleMetadata.eventsJson
hierarchyJson
readonlyhierarchyJson:string
Defined in: packages/celox/src/types.ts:108
Inherited from
FrontendSimulatorHandleMetadata.hierarchyJson
layoutJson
readonlylayoutJson:string
Defined in: packages/celox/src/types.ts:106
Inherited from
FrontendSimulatorHandleMetadata.layoutJson
sharedMemory?
optionalsharedMemory?:undefined
Defined in: packages/celox/src/types.ts:155
stableSize
readonlystableSize:number
Defined in: packages/celox/src/types.ts:110
Inherited from
FrontendSimulatorHandleMetadata.stableSize
stateFingerprint?
readonlyoptionalstateFingerprint?:string
Defined in: packages/celox/src/types.ts:150
Identity of the checkpointable state layout.
stateOffset?
readonlyoptionalstateOffset?:number
Defined in: packages/celox/src/types.ts:148
Offset where the checkpointable design state starts (it ends at stableSize). Absent on addons without checkpoint support.
tick?
optionaltick?:undefined
Defined in: packages/celox/src/types.ts:151
tickN?
optionaltickN?:undefined
Defined in: packages/celox/src/types.ts:152
totalSize
readonlytotalSize:number
Defined in: packages/celox/src/types.ts:111
Inherited from
FrontendSimulatorHandleMetadata.totalSize
warningsJson
readonlywarningsJson:string
Defined in: packages/celox/src/types.ts:109
Inherited from
FrontendSimulatorHandleMetadata.warningsJson
Methods
combWasmBytes()
combWasmBytes():
Uint8Array<ArrayBufferLike> |number[]
Defined in: packages/celox/src/types.ts:142
Returns
Uint8Array<ArrayBufferLike> | number[]
dispose()
dispose():
void
Defined in: packages/celox/src/types.ts:112
Returns
void
Inherited from
FrontendSimulatorHandleMetadata.dispose
eventWasmBytes()
eventWasmBytes(
name):Uint8Array<ArrayBufferLike> |number[]
Defined in: packages/celox/src/types.ts:143
Parameters
name
string
Returns
Uint8Array<ArrayBufferLike> | number[]
initialMemoryBytes()
initialMemoryBytes():
Uint8Array<ArrayBufferLike> |number[]
Defined in: packages/celox/src/types.ts:141
Returns
Uint8Array<ArrayBufferLike> | number[]