class_docstr: A collection of callbacks added to a Tornado IOLoop that can be removed
  as a group.
class_docstr_tok: ["A","collection","of","callbacks","added","to","a","Tornado","IOLoop","that","can","be","removed","as","a","group","."]
docstr: Removes all registered callbacks.
  
          
docstr_tok: ["Removes","all","registered","callbacks","."]
code: def remove_all_callbacks(self) -> None:
      """Removes all registered callbacks."""
  
      # call list to make a copy since dicts could change in flight
      for cb_id in list(self._next_tick_callback_removers):
          self.remove_next_tick_callback(cb_id)
      for cb_id in list(self._timeout_callback_removers):
          self.remove_timeout_callback(cb_id)
      for cb_id in list(self._periodic_callback_removers):
          self.remove_periodic_callback(cb_id)
  
imports: from __future__ import annotations
  import logging
  import sys
  import threading
  from collections import defaultdict
  from traceback import format_exception
  from typing import TYPE_CHECKING, Any, Awaitable, Callable, Union
  import tornado
  from tornado import gen
  from ..core.types import ID
label_desc: Use image node_id 2 for calling the _CallbackGroup obj's underlying member method code with example usage: obj.remove_all_callbacks() without return types