class_docstr: Asynchronous context manager for cancelling overdue coroutines.
  
  Use `timeout()` or `timeout_at()` rather than instantiating this class directly.
class_docstr_tok: ["Asynchronous","context","manager","for","cancelling","overdue","coroutines",".","Use","`","timeout","(",")","`","or","`","timeout_at","(",")","`","rather","than","instantiating","this","class","directly","."]
docstr: Return the current deadline.
docstr_tok: ["Return","the","current","deadline","."]
code: def when(self) -> Optional[float]:
      """Return the current deadline."""
      return self._when
  
file_path: catboost/contrib/tools/python3/src/Lib/asyncio/timeouts.py
imports: import enum
  from types import TracebackType
  from typing import final, Optional, Type
  from .None import events
  from .None import exceptions
  from .None import tasks
label_desc: Use image node_id 2 for calling the Timeout obj's underlying member method code with example usage: obj.when() and returns: self