snapcap
ApiType aliases

Unsubscribe

Type Alias: Unsubscribe

type Unsubscribe = () => void;

Defined in: api/friends/types.ts:25

Thunk returned by subscription methods (e.g. IFriendsManager.onChange). Calling it cancels the subscription. Idempotent — calling more than once is a no-op.

Returns

void

On this page