MCPcopy Create free account
hub / github.com/ccxt/ccxt / cancel_later

Function cancel_later

python/ccxt/pro/test/base/test_future.py:18–20  ·  view source on GitHub ↗
(future, delay)

Source from the content-addressed store, hash-verified

16 future.resolve(result)
17
18async def cancel_later(future, delay):
19 await asyncio.sleep(delay)
20 future.cancel()
21
22async def reject_later(future, err, delay):
23 await asyncio.sleep(delay)

Callers 1

test_cancelFunction · 0.85

Calls 1

sleepMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…