@nextcloud/files
    Preparing search index...
    • Returns the number of registered listeners for the event named eventName.

      For EventEmitters this behaves exactly the same as calling .listenerCount on the emitter.

      For EventTargets this is the only way to obtain the listener count. This can be useful for debugging and diagnostic purposes.

      Parameters

      Returns number

      v0.9.12

    • Returns the number of registered listeners for the event named eventName.

      For EventEmitters this behaves exactly the same as calling .listenerCount on the emitter.

      For EventTargets this is the only way to obtain the listener count. This can be useful for debugging and diagnostic purposes.

      Parameters

      • emitter: EventTarget
      • eventName: string

      Returns number

      v0.9.12