Join Slack
Powered by
Then you just do `it.resume(result)` and `it.resum...
# javascript
h
hellman
11/14/2019, 10:55 AM
Then you just do
it.resume(result)
and
it.resumeWithException(error)
d
Dominaezzz
11/14/2019, 1:32 PM
Sometimes you can't guarantee that
it.resume
is called only once.
Dominaezzz
11/14/2019, 1:32 PM
So
CompletableDeferred
is a safer alternative.
2
Views
Open in Slack
Previous
Next