MCPcopy Create free account
hub / github.com/CasparCG/server / Execute

Method Execute

src/modules/html/html.cpp:292–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290 }
291
292 void Execute() override
293 {
294 CASPAR_LOG(trace) << "[cef_task] executing task";
295
296 try {
297 function_();
298 promise_.set_value();
299 CASPAR_LOG(trace) << "[cef_task] task succeeded";
300 } catch (...) {
301 promise_.set_exception(std::current_exception());
302 CASPAR_LOG(warning) << "[cef_task] task failed";
303 }
304 }
305
306 std::future<void> future() { return promise_.get_future(); }
307

Callers 1

begin_invokeFunction · 0.45

Calls 1

set_valueMethod · 0.45

Tested by

no test coverage detected