MCPcopy Create free account
hub / github.com/Snapchat/Valdi / isCancelable

Method isCancelable

valdi_core/src/valdi_core/cpp/Utils/ResolvablePromise.cpp:80–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 lock.unlock();
79
80 if (result) {
81 callback->onSuccess(result.value());
82 } else {
83 callback->onFailure(result.error());
84 }
85
86 return;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected