Function onGlobalPatches

  • Adds a listener that will be called every time a patch is generated anywhere. Usually prefer using onPatches.

    Parameters

    • listener: OnGlobalPatchesListener

      The listener function that will be called everytime a patch is generated anywhere.

    Returns OnPatchesDisposer

    A disposer to stop listening to patches.