Skip to main content

Interface: SubscribeEvents#

Properties#

onComplete#

• Optional onComplete: () => void

Type declaration:#

â–¸ (): void

Returns: void

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

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


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:66

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


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:67

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


onStart#

• Optional onStart: () => void

Type declaration:#

â–¸ (): void

Returns: void

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

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

Last updated on by github-actions[bot]