Skip to content

@celox-sim/celox / index / WasmFrontendSimulatorHandle

Interface: WasmFrontendSimulatorHandle

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

Raw simulator handle returned by a frontend-owned WASM addon.

Extends

  • FrontendSimulatorHandleMetadata

Properties

dump?

optional dump?: undefined

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


evalComb?

optional evalComb?: undefined

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


eventsJson

readonly eventsJson: string

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

Inherited from

FrontendSimulatorHandleMetadata.eventsJson


hierarchyJson

readonly hierarchyJson: string

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

Inherited from

FrontendSimulatorHandleMetadata.hierarchyJson


layoutJson

readonly layoutJson: string

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

Inherited from

FrontendSimulatorHandleMetadata.layoutJson


sharedMemory?

optional sharedMemory?: undefined

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


stableSize

readonly stableSize: number

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

Inherited from

FrontendSimulatorHandleMetadata.stableSize


tick?

optional tick?: undefined

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


tickN?

optional tickN?: undefined

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


totalSize

readonly totalSize: number

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

Inherited from

FrontendSimulatorHandleMetadata.totalSize


warningsJson

readonly warningsJson: string

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

Inherited from

FrontendSimulatorHandleMetadata.warningsJson

Methods

combWasmBytes()

combWasmBytes(): Uint8Array<ArrayBufferLike> | number[]

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

Returns

Uint8Array<ArrayBufferLike> | number[]


dispose()

dispose(): void

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

Returns

void

Inherited from

FrontendSimulatorHandleMetadata.dispose


eventWasmBytes()

eventWasmBytes(name): Uint8Array<ArrayBufferLike> | number[]

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

Parameters

name

string

Returns

Uint8Array<ArrayBufferLike> | number[]


initialMemoryBytes()

initialMemoryBytes(): Uint8Array<ArrayBufferLike> | number[]

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

Returns

Uint8Array<ArrayBufferLike> | number[]