Implements

Constructors

Methods

  • Called once for each zone that showZones extends (so nothing is reported while it is off) when a bar's range comes back to it after it became active (since 2.6.4), the moment to raise an alert or play a sound. The first bars a footprint is given are history and report nothing; each later setBars is read as the live tail, so a touch in the bar that was newest at the previous call, or in any bar after it, is reported. setBars([]), or bars that start again from an older bar, begin a new history. Returns the unsubscribe.

    Parameters

    Returns () => void