Interface: UseTRPCSubscriptionOptions<TOutput, TError>
Type parameters
Parameter |
---|
TOutput |
TError |
Properties
enabled
optional
enabled:boolean
Source
packages/react-query/src/shared/hooks/types.ts:140
onData
onData: (
data
) =>void
Parameters
Parameter | Type |
---|---|
data | TOutput |
Returns
void
Source
packages/react-query/src/shared/hooks/types.ts:142
onError
optional
onError: (err
) =>void
Parameters
Parameter | Type |
---|---|
err | TError |
Returns
void
Source
packages/react-query/src/shared/hooks/types.ts:143
onStarted
optional
onStarted: () =>void
Returns
void
Source
packages/react-query/src/shared/hooks/types.ts:141
Generated using TypeDoc and typedoc-plugin-markdown