UNPKG

@tanstack/query-core

Version:

The framework agnostic core that powers TanStack Query

11 lines (9 loc) 294 B
declare class Subscribable<TListener extends Function> { protected listeners: Set<TListener>; constructor(); subscribe(listener: TListener): () => void; hasListeners(): boolean; protected onSubscribe(): void; protected onUnsubscribe(): void; } export { Subscribable };