Optional
pixel: PixelAn array with:
The Pixel argument of the dispatch function is required only for the first "connect" action. Only one Pixel may be connected at a given time with the same dispatch function. Connecting to another Pixel using the same dispatch will first disconnect from the previous Pixel.
Generated using TypeDoc
React Hook that returns a dispatch function to connect to and disconnect from a given Pixel. Automatically disconnects from the Pixel on dismount.