FrontPanel Platform API - v6.0.0
    Preparing search index...

    Type Alias DeviceEventAsyncHandler

    DeviceEventAsyncHandler: (
        sender: IDeviceManager,
        serialNumber: string,
    ) => Promise<void>

    Type representing an asynchronous Device event handler.

    Type Declaration

      • (sender: IDeviceManager, serialNumber: string): Promise<void>
      • Parameters

        • sender: IDeviceManager

          The sender of the event.

        • serialNumber: string

          The serial number of the device.

        Returns Promise<void>

        • A promise that resolves when the event handling is complete.