Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
6
class
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_before
Function · 0.95
test_race_success_before
Function · 0.95
test_race_cancel
Function · 0.95
test_race_mixed_outcomes
Function · 0.95
test_race_with_precompleted_future
Function · 0.95
Calls
no outgoing calls
Tested by
5
test_resolve_before
Function · 0.76
test_race_success_before
Function · 0.76
test_race_cancel
Function · 0.76
test_race_mixed_outcomes
Function · 0.76
test_race_with_precompleted_future
Function · 0.76