MCPcopy Create free account
hub / github.com/apify/crawlee-python / __aexit__

Method __aexit__

src/crawlee/_utils/recurring_task.py:41–47  ·  view source on GitHub ↗
(
        self,
        exc_type: type[BaseException] | None,
        exc_value: BaseException | None,
        exc_traceback: TracebackType | None,
    )

Source from the content-addressed store, hash-verified

39 return self
40
41 async def __aexit__(
42 self,
43 exc_type: type[BaseException] | None,
44 exc_value: BaseException | None,
45 exc_traceback: TracebackType | None,
46 ) -> None:
47 await self.stop()
48
49 async def _wrapper(self) -> None:
50 """Continuously execute the provided function with the specified delay.

Callers

nothing calls this directly

Calls 1

stopMethod · 0.95

Tested by

no test coverage detected