Skip to content

@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? ​

optional dump?: undefined

Defined in: packages/celox/src/types.ts:154


evalComb? ​

optional evalComb?: undefined

Defined in: packages/celox/src/types.ts:153


eventsJson ​

readonly eventsJson: string

Defined in: packages/celox/src/types.ts:107

Inherited from ​

FrontendSimulatorHandleMetadata.eventsJson


hierarchyJson ​

readonly hierarchyJson: string

Defined in: packages/celox/src/types.ts:108

Inherited from ​

FrontendSimulatorHandleMetadata.hierarchyJson


layoutJson ​

readonly layoutJson: string

Defined in: packages/celox/src/types.ts:106

Inherited from ​

FrontendSimulatorHandleMetadata.layoutJson


sharedMemory? ​

optional sharedMemory?: undefined

Defined in: packages/celox/src/types.ts:155


stableSize ​

readonly stableSize: number

Defined in: packages/celox/src/types.ts:110

Inherited from ​

FrontendSimulatorHandleMetadata.stableSize


stateFingerprint? ​

readonly optional stateFingerprint?: string

Defined in: packages/celox/src/types.ts:150

Identity of the checkpointable state layout.


stateOffset? ​

readonly optional stateOffset?: 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? ​

optional tick?: undefined

Defined in: packages/celox/src/types.ts:151


tickN? ​

optional tickN?: undefined

Defined in: packages/celox/src/types.ts:152


totalSize ​

readonly totalSize: number

Defined in: packages/celox/src/types.ts:111

Inherited from ​

FrontendSimulatorHandleMetadata.totalSize


warningsJson ​

readonly warningsJson: 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[]