| Copyright | (c) 2026 Tushar Adhatrao |
|---|---|
| License | MIT |
| Stability | stable |
| Safe Haskell | None |
| Language | GHC2021 |
WasmEdge.Store
Description
Synopsis
- data Store
- createStore :: IO Store
- deleteStore :: Store -> IO ()
- withStore :: (Store -> IO a) -> IO a
- findModule :: Store -> Text -> IO (Maybe ModuleInstance)
- listModules :: Store -> IO [Text]
- unsafeStorePtr :: Store -> IO (Ptr StoreTag)
- borrowStore :: Ptr StoreTag -> IO Store
Documentation
createStore :: IO Store #
Create a new runtime Store.
deleteStore :: Store -> IO () #
Delete a runtime Store.
findModule :: Store -> Text -> IO (Maybe ModuleInstance) #
Find an exported module by name in the store.
listModules :: Store -> IO [Text] #
List all registered module names in the store.