Skip to main content
Defined in: client/handlers.ts:32 Config for receiving server-initiated list-change notifications. Set debounceMs: 0 in tests for instant delivery.

Type Parameters

T

T

Properties

autoRefresh?

Defined in: client/handlers.ts:35 Whether to auto-fetch the updated list before calling onChanged. Default: true.

debounceMs?

Defined in: client/handlers.ts:37 Debounce window in ms. Default: 300. Set to 0 to disable.

onChanged

Defined in: client/handlers.ts:33

Parameters

error
Error | null
items
T[] | null

Returns

void | Promise<void>