Then you just do `it.resume(result)` and `it.resum...
# javascript
h
Then you just do
it.resume(result)
and
it.resumeWithException(error)
d
Sometimes you can't guarantee that
it.resume
is called only once.
So
CompletableDeferred
is a safer alternative.