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

Method return_value

sources/system/win32/common.cpp:238–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236 }
237
238 virtual var return_value() const
239 {
240 if (state == fiber_state::finished)
241 return ret_val;
242 else
243 throw lang_error("Fiber has not yet started or ended.");
244 }
245 };
246
247 fiber_t create(const context_t &cxt, std::function<var()> f)

Callers

nothing calls this directly

Calls 1

lang_errorClass · 0.85

Tested by

no test coverage detected