Skip to content

probe-web / @probe-web/serial / onPortsChanged

Function: onPortsChanged()

ts
function onPortsChanged(cb): () => void;

Defined in: index.ts:113

Subscribe to port plug/unplug; returns an unsubscribe function.

Parameters

ParameterType
cb(kind) => void

Returns

() => void