MCPcopy Index your code
hub / github.com/langchain-ai/deepagents / remove

Method remove

libs/code/deepagents_code/widgets/loading.py:142–149  ·  view source on GitHub ↗

Stop animation before delegating DOM removal to Textual. Returns: Awaitable that completes once the widget is removed from the DOM.

(self)

Source from the content-addressed store, hash-verified

140 self._stop_timer()
141
142 def remove(self) -> AwaitRemove:
143 """Stop animation before delegating DOM removal to Textual.
144
145 Returns:
146 Awaitable that completes once the widget is removed from the DOM.
147 """
148 self._stop_timer()
149 return super().remove()
150
151 def _stop_timer(self) -> None:
152 """Stop the animation timer if it is running."""

Callers 15

delete_messageMethod · 0.45
unsuppress_warningFunction · 0.45
_dropMethod · 0.45
_mount_failureMethod · 0.45
_set_spinnerMethod · 0.45
_mount_outputMethod · 0.45

Calls 1

_stop_timerMethod · 0.95