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
| Parameter | Type |
|---|---|
cb | (kind) => void |
Returns
() => void