class_docstr: Watches a single path on disk using watchdog
docstr: Close the _MultiPathWatcher singleton.
code: def close_all() -> None:
      """Close the _MultiPathWatcher singleton."""
      path_watcher = _MultiPathWatcher.get_singleton()
      path_watcher.close()
      LOGGER.debug("Watcher closed")
  
imports: import os
  import threading
  from typing import Callable, Dict, Optional, cast
  from blinker import ANY, Signal
  from watchdog import events
  from watchdog.observers import Observer
  from watchdog.observers.api import ObservedWatch
  from streamlit.logger import get_logger
  from streamlit.util import repr_
  from streamlit.watcher import util
label_desc: Use image node_id 1 for calling the EventBasedPathWatcher obj's underlying member method code with example usage: obj.close_all() without return types