Skip to main content

Properties

onComplete#

Optional onComplete: () => void

Type declaration:#

▸ (): void

Returns: void

Defined in: packages/gqless/src/Client/client.ts:73


onData#

onData: (data: Record<string, unknown>) => void

Type declaration:#

▸ (data: Record<string, unknown>): void

Parameters:#

NameType
dataRecord<string, unknown>

Returns: void

Defined in: packages/gqless/src/Client/client.ts:67


onError#

onError: (payload: { data: null | Record<string, unknown> ; error: GQlessError }) => void

Type declaration:#

▸ (payload: { data: null | Record<string, unknown> ; error: GQlessError }): void

Parameters:#

NameType
payloadobject
payload.datanull | Record<string, unknown>
payload.errorGQlessError

Returns: void

Defined in: packages/gqless/src/Client/client.ts:68


onStart#

Optional onStart: () => void

Type declaration:#

▸ (): void

Returns: void

Defined in: packages/gqless/src/Client/client.ts:72

Last updated on by Pablo Sáez