MCPcopy Index your code
hub / github.com/slackapi/python-slack-sdk / sleepy_count

Function sleepy_count

integration_tests/samples/issues/issue_522.py:17–20  ·  view source on GitHub ↗
(name, sleep_for)

Source from the content-addressed store, hash-verified

15
16
17async def sleepy_count(name, sleep_for):
18 for i in range(10):
19 await asyncio.sleep(sleep_for)
20 LOGGER.debug(f"{name} - slept {i + 1} times.")
21
22
23async def slack_client_and_sleeps():

Callers 2

slack_client_and_sleepsFunction · 0.85
sleepsFunction · 0.85

Calls 1

debugMethod · 0.45

Tested by

no test coverage detected