micro:bit connection library
    Preparing search index...
    interface ConnectOptions {
        bondMode?: BondMode;
        progress?: ProgressCallback;
        signal?: AbortSignal;
    }
    Index
    bondMode?: BondMode

    Controls bonding and post-bond device mode on native platforms. Ignored on web. Default: "pairing".

    progress?: ProgressCallback

    Optional progress callback for tracking connection stages.

    signal?: AbortSignal

    Optional AbortSignal to abort the connection attempt. When aborted, the connect promise will reject with a DeviceError with code "aborted".

    Note: Currently only aborts during the FindingDevice stage on native platforms. Web platform device selection (browser picker) cannot be aborted programmatically.