Skip to main content

Interface: SendingOptions

Defined in: src/lib/classes/PaintCanvas/index.ts:226

Options for sending drawing messages (see startSending)

Properties​

delayMs?​

optional delayMs?: number

Defined in: src/lib/classes/PaintCanvas/index.ts:232

How long to wait after a change before sending a patch, so quick changes go together (milliseconds)


patches?​

optional patches?: boolean

Defined in: src/lib/classes/PaintCanvas/index.ts:228

Send patches of the user's drawing (default true)


strokes?​

optional strokes?: boolean

Defined in: src/lib/classes/PaintCanvas/index.ts:230

Send each finished stroke (default false)