Skip to content

@pbvex/client / WatchCallbacks

Interface: WatchCallbacks<T>

Extended by

Type Parameters

T

T

Properties

onConnectionStateChange?

optional onConnectionStateChange?: (state) => void

Parameters

state

ConnectionState

Returns

void


onError?

optional onError?: (error) => void

Parameters

error

Error

Returns

void


onUpdate

onUpdate: (result) => void

Parameters

result

QueryResult<T>

Returns

void

Generated API reference. Source of truth is the codebase.