MiniQuake

src/miniquake/client_state.ml

Package
miniquake.client_state
Reachable
No

Imports

Declarations

clear

function clear(state)

Implements the `clear` operation for `miniquake.client_state` (clear).

ParameterTypeDefaultDescription
statedynamic—Mutable `miniquake.client_state` state used by `clear`.

View source

create

function create()

Implements the `create` operation for `miniquake.client_state` (create).

View source

queueEvent

function queueEvent(state, event)

Add state for queue event.

ParameterTypeDefaultDescription
statedynamic—Mutable `miniquake.client_state` state used by `queueEvent`.
eventdynamic—Runtime event to process.

View source

zeroStats

function zeroStats(count)

Create the zero-initialized state for stats.

ParameterTypeDefaultDescription
countdynamic—Number of entries or units to process.

View source