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

Method resolve

python/ccxt/async_support/base/ws/future.py:8–10  ·  view source on GitHub ↗
(self, result=None)

Source from the content-addressed store, hash-verified

6class Future(asyncio.Future):
7
8 def resolve(self, result=None):
9 if not self.done():
10 self.set_result(result)
11
12 def reject(self, error=None):
13 if not self.done():

Callers 5

test_resolve_beforeFunction · 0.95
test_race_success_beforeFunction · 0.95
test_race_cancelFunction · 0.95
test_race_mixed_outcomesFunction · 0.95

Calls

no outgoing calls

Tested by 5

test_resolve_beforeFunction · 0.76
test_race_success_beforeFunction · 0.76
test_race_cancelFunction · 0.76
test_race_mixed_outcomesFunction · 0.76