Skip to content

TypeScript API / laikacms/storage / Unsubscribe

Type Alias: Unsubscribe ​

ts
type Unsubscribe = () => void;

Tears down a ChangeListener subscription. Idempotent: calling it more than once is a no-op. When the last listener of a repository unsubscribes, the repository releases any underlying watch resource.

Returns ​

void

Released under the MIT License.