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

Method Async

include/common/async.h:26–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24template <typename T> class Async {
25public:
26 Async() noexcept = default;
27 template <typename Inst, typename... FArgsT, typename... ArgsT>
28 Async(T (Inst::*FPtr)(FArgsT...), Inst &TargetInst, ArgsT &&...Args)
29 : StopFunc([&TargetInst]() { TargetInst.stop(); }) {

Callers

nothing calls this directly

Calls 2

swapFunction · 0.85
stopMethod · 0.45

Tested by

no test coverage detected