BridgeHandler: {
    fromBridge: ((obj: any) => Promise<unknown> | unknown);
}

An object that can receive messages from the bridge device

Type declaration

  • fromBridge: ((obj: any) => Promise<unknown> | unknown)

    Handle an inbound message

      • (obj): Promise<unknown> | unknown
      • Parameters

        • obj: any

        Returns Promise<unknown> | unknown