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

Function resolve_later

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

Source from the content-addressed store, hash-verified

12
13# Helper functions
14async def resolve_later(future, result, delay):
15 await asyncio.sleep(delay)
16 future.resolve(result)
17
18async def cancel_later(future, delay):
19 await asyncio.sleep(delay)

Calls 2

resolveMethod · 0.65
sleepMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…