Skip to main content

Off TypeAlias

A function that, when called, will deregister an event listener subscription that was previously registered.

Signature

export type Off = () => void;

Remarks

It is returned by the event registration function when event registration occurs.