MCPcopy Create free account
hub / github.com/bytedance/bolt / cancel

Method cancel

bolt/exec/JoinBridge.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void JoinBridge::cancel() {
46 std::vector<ContinuePromise> promises;
47 {
48 std::lock_guard<std::mutex> l(mutex_);
49 cancelled_ = true;
50 promises = std::move(promises_);
51 }
52 notify(std::move(promises));
53}
54
55} // namespace bytedance::bolt::exec

Callers 1

terminateMethod · 0.45

Calls 1

notifyFunction · 0.85

Tested by

no test coverage detected