MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / join

Function join

source/binding/NodeJS/src/apis/server.cpp:72–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static maajs::PromiseType join(maajs::EnvType env)
73{
74 auto work = new maajs::AsyncWork<std::monostate>(env, []() {
75 MaaAgentServerJoin();
76 return std::monostate { };
77 });
78 work->Queue();
79 return work->Promise();
80}
81
82static void detach()
83{

Callers

nothing calls this directly

Calls 3

MaaAgentServerJoinFunction · 0.85
QueueMethod · 0.80
PromiseMethod · 0.45

Tested by

no test coverage detected