#
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:Name | Type |
---|---|
data | Record<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:Name | Type |
---|---|
payload | object |
payload.data | null | Record<string, unknown> |
payload.error | gqlessError |
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