Skip to content

Type Alias: Unsubscribe ​

ts
type Unsubscribe = () => void;

Unsubscribe function returned by subscribe(). Calling it detaches the handler.

Returns ​

void