Skip to content

@statesync/core


@statesync/core / Unsubscribe

Type Alias: Unsubscribe()

ts
type Unsubscribe = () => void;

Defined in: types.ts:106

A teardown function that removes a previously registered subscription.

Calling it more than once is safe and has no additional effect.

Returns

void

Released under the MIT License.