MCPcopy Create free account
hub / github.com/Qihoo360/evpp / OnSetCommandDone

Method OnSetCommandDone

apps/evmc/command.h:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82 }
83 virtual void OnSetCommandDone(int resp_code) {
84 auto loop = caller_loop();
85 if (loop && !loop->IsInLoopThread()) {
86 loop->RunInLoop(std::bind(set_callback_, std::move(key_), resp_code));
87 } else {
88 set_callback_(key_, resp_code);
89 }
90 }
91private:
92 std::string key_;
93 std::string value_;

Callers

nothing calls this directly

Calls 1

RunInLoopMethod · 0.80

Tested by

no test coverage detected