MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / set_output_callback

Function set_output_callback

src/python/runner.cpp:134–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 void set_output_callback(std::function<void(const std::string&, bool)> callback) {
135 std::lock_guard lock(g_output_mutex);
136 g_output_callback = std::move(callback);
137 }
138
139 void write_output(const std::string& text, bool is_error) {
140 std::lock_guard lock(g_output_mutex);

Callers 2

TEST_FFunction · 0.85

Calls 1

moveFunction · 0.85

Tested by 1

TEST_FFunction · 0.68