• This listen to clipboard monitor update event, and trigger the callback function. However from this event we don't know whether it's text or image, no real data is returned. Use with listenToClipboard function.

    Parameters

    • cb: (() => void)

      callback

        • (): void
        • Returns void

    Returns Promise<UnlistenFn>

    unlisten function