MediaNodeState.emit() method

Signature:

protected emit<E extends (keyof Events) & string>(name: E, arg: Parameters<Events[E]>[0]): void;

Parameters

Parameter Type Description

name

E

arg

Parameters<Events[E]>[0]

Returns:

void