• React Hook that connects to the given Pixel on mount, and disconnect on dismount.

    Parameters

    • Optional pixel: Pixel

      The Pixel to connect to, may be undefined.

    Returns [PixelStatus?, Error?]

    An array with the Pixel status and the last encountered error.

Generated using TypeDoc