Skip to main content

Interface: SubscribeEvents#

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 Sam Denty