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

Method getModuleListSize

include/runtime/storemgr.h:41–44  ·  view source on GitHub ↗

Get the length of the list of registered modules.

Source from the content-addressed store, hash-verified

39
40 /// Get the length of the list of registered modules.
41 uint32_t getModuleListSize() const noexcept {
42 std::shared_lock Lock(Mutex);
43 return static_cast<uint32_t>(NamedMod.size());
44 }
45
46 /// Get list of registered modules.
47 template <typename CallbackT> auto getModuleList(CallbackT &&CallBack) const {

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected