Skip to content

@maxhealth.tech/prefab / actions / SetInterval

Class: SetInterval

Defined in: actions/client.ts:126

Base interface all actions implement

Implements

Constructors

Constructor

ts
new SetInterval(intervalMs, onTick): SetInterval;

Defined in: actions/client.ts:127

Parameters

ParameterType
intervalMsnumber
onTick| Action | Action[]

Returns

SetInterval

Properties

intervalMs

ts
readonly intervalMs: number;

Defined in: actions/client.ts:128


onTick

ts
readonly onTick: 
  | Action
  | Action[];

Defined in: actions/client.ts:129

Methods

toJSON()

ts
toJSON(): ActionJSON;

Defined in: actions/client.ts:132

Returns

ActionJSON

Implementation of

Action.toJSON

Released under the MIT License.