MCPcopy Create free account
hub / github.com/covscript/covscript / return_value

Method return_value

sources/system/unix/common.cpp:372–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370 }
371
372 virtual var return_value() const
373 {
374 if (state == fiber_state::finished)
375 return ret_val;
376 else
377 throw lang_error("Fiber has not yet started or ended.");
378 }
379 };
380
381 fiber_t create(const context_t &cxt, std::function<var()> f)

Callers 1

return_valueFunction · 0.45

Calls 1

lang_errorClass · 0.85

Tested by

no test coverage detected