MCPcopy Index your code
hub / github.com/ccxt/ccxt / resolve

Method resolve

java/lib/src/main/java/io/github/ccxt/ws/Future.java:25–27  ·  view source on GitHub ↗

Resolve the future with data. Thread-safe — only the first call takes effect.

(Object data)

Source from the content-addressed store, hash-verified

23 * Resolve the future with data. Thread-safe — only the first call takes effect.
24 */
25 public void resolve(Object data) {
26 this.completableFuture.complete(data);
27 }
28
29 /**
30 * Resolve the future with null. Used when no specific data is needed.

Callers 6

testResolveMethod · 0.95
testRaceMethod · 0.95
testAsyncResolveMethod · 0.95
spawnWithResultMethod · 0.95
resolveMethod · 0.95

Calls

no outgoing calls

Tested by 4

testResolveMethod · 0.76
testRaceMethod · 0.76
testAsyncResolveMethod · 0.76