UNPKG

@equinor/fusion-query

Version:

Reactive data fetching and caching library with observable streams and comprehensive event system

20 lines 611 B
/** * Concrete event class emitted by the {@link Query} instance itself. * * Represents lifecycle events for query creation, completion, caching, and job management. * Subscribers can use `instanceof QueryEvent` to filter for query-level events * when the aggregated `event$` stream also contains client and cache events. * * @template TData - The type of data payload carried by this event. */ export class QueryEvent { type; key; data; constructor(type, key, data) { this.type = type; this.key = key; this.data = data; } } //# sourceMappingURL=events.js.map