orphe-core-insole - v0.4.0
    Preparing search index...

    Interface BridgeCallbacks

    Secondary タブ側の受信ハンドラ。フィールド名('acc' など)をキーにする。 配送されるデータは Primary タブがパースしたサンプルそのもの。

    interface BridgeCallbacks {
        onPrimaryLost?: () => void;
        [callbackName: string]:
            | ((data: unknown) => void)
            | (() => void)
            | undefined;
    }

    Indexable

    • [callbackName: string]: ((data: unknown) => void) | (() => void) | undefined

      フィールド名ごとの受信ハンドラ

    Index
    onPrimaryLost?: () => void

    Primary タブが消えたときに呼ばれる(リーダー選出のトリガー)