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

Method start

src/crawlee/_utils/recurring_task.py:60–66  ·  view source on GitHub ↗

Start the recurring task execution.

(self)

Source from the content-addressed store, hash-verified

58 await asyncio.sleep(sleep_time_secs)
59
60 def start(self) -> None:
61 """Start the recurring task execution."""
62 name = self.func.__name__ if hasattr(self.func, '__name__') else self.func.__class__.__name__
63 self.task = asyncio.create_task(
64 self._wrapper(),
65 name=f'Task-recurring-{name}',
66 )
67
68 async def stop(self) -> None:
69 """Stop the recurring task execution."""

Callers 14

__aenter__Method · 0.95
test_start_and_stopFunction · 0.95
test_executionFunction · 0.95
__aenter__Method · 0.45
__aenter__Method · 0.45
__aenter__Method · 0.45
__aenter__Method · 0.45
__aenter__Method · 0.45
runMethod · 0.45
serve_in_threadFunction · 0.45

Calls 1

_wrapperMethod · 0.95