nomad

@lacrypta/nomad v0.0.0 / EventCallback

Type Alias: EventCallback()

type EventCallback: (name: string, ...args: AnyArgs) => void;

The type of an event callback.

EventCaster events consists of two parts:

An event callback is simply a function that is prepared to receive these parts individually, and it’s not expected to return anything at all.

Parameters

name: string

The event name to pass on to the call back function.

• …args: AnyArgs

Any additional arguments associated to the particular event instance.

Returns

void

Defined in

eventCaster.ts:61