Skip to content

@vtj


@vtj / core / Emitter

Type Alias: Emitter

Emitter: object

Type declaration

all

all: object

all.clear()

Returns

void

emit()

Parameters

type

string

args

...any[]

Returns

void

off()

Parameters

type

string

listener

(...args) => void

Returns

void

on()

Parameters

type

string

listener

(...args) => void

Returns

void

Defined in

packages/core/src/tools/emitter.ts:42

Released under the MIT License.