MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / WasmEdge_AsyncWaitFor

Function WasmEdge_AsyncWaitFor

lib/api/wasmedge.cpp:3139–3146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3137}
3138
3139WASMEDGE_CAPI_EXPORT bool
3140WasmEdge_AsyncWaitFor(const WasmEdge_Async *Cxt,
3141 uint64_t Milliseconds) noexcept {
3142 if (Cxt) {
3143 return Cxt->Async.waitFor(std::chrono::milliseconds(Milliseconds));
3144 }
3145 return false;
3146}
3147
3148WASMEDGE_CAPI_EXPORT void WasmEdge_AsyncCancel(WasmEdge_Async *Cxt) noexcept {
3149 if (Cxt) {

Callers 3

TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls 1

waitForMethod · 0.80

Tested by 3

TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68