Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ccxt/ccxt
/ reject
Method
reject
python/ccxt/async_support/base/ws/future.py:12–14 ·
view source on GitHub ↗
(self, error=None)
Source
from the content-addressed store, hash-verified
10
self.set_result(result)
11
12
def
reject(self, error=None):
13
if
not self.done():
14
self.set_exception(error)
15
16
@classmethod
17
def
race(cls, futures):
Callers
2
test_reject
Function · 0.95
test_race_return_first_exception
Function · 0.95
Calls
no outgoing calls
Tested by
2
test_reject
Function · 0.76
test_race_return_first_exception
Function · 0.76