Skip to main content

Properties

errors#

errors: object

Type declaration:#

NameType
mapMap<Selection, GQlessError>
removeErrors(selectionsCleaned: Selection[]) => void
retryPromise(retryPromise: Promise<SchedulerPromiseValue>, selections: Set<Selection>) => void
subscribeErrors(fn: ErrorSubscriptionFn) => () => void
triggerError(newError: GQlessError, selections: Selection[], isLastTry: boolean) => void

Defined in: packages/gqless/src/Scheduler/index.ts:42


isFetching#

isFetching: boolean

Defined in: packages/gqless/src/Scheduler/index.ts:56


pendingSelectionsGroups#

pendingSelectionsGroups: Set<Set<Selection>>

Defined in: packages/gqless/src/Scheduler/index.ts:57


pendingSelectionsGroupsPromises#

pendingSelectionsGroupsPromises: Map<Set<Selection>, Promise<SchedulerPromiseValue>>

Defined in: packages/gqless/src/Scheduler/index.ts:58


resolving#

resolving: null | DeferredPromise<SchedulerPromiseValue>

Defined in: packages/gqless/src/Scheduler/index.ts:38


subscribeResolve#

subscribeResolve: (fn: (promise: Promise<SchedulerPromiseValue>, selection: Selection) => void) => () => void

Type declaration:#

▸ (fn: (promise: Promise<SchedulerPromiseValue>, selection: Selection) => void): function

Parameters:#

NameType
fn(promise: Promise<SchedulerPromiseValue>, selection: Selection) => void

Returns: () => void

Defined in: packages/gqless/src/Scheduler/index.ts:39

Methods#

getResolvingPromise#

getResolvingPromise(selections: Selection | Set<Selection>): void | ResolvedLazyPromise

Parameters:#

NameType
selectionsSelection | Set<Selection>

Returns: void | ResolvedLazyPromise

Defined in: packages/gqless/src/Scheduler/index.ts:62

Last updated on by Sam Denty