mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 13:28:49 +00:00
Document a type + add TODO
This commit is contained in:
@@ -8,6 +8,8 @@ use wasmer_vm::{init_traps, StoreId, TrapHandler, TrapHandlerFn};
|
||||
|
||||
use wasmer_vm::StoreObjects;
|
||||
|
||||
/// Call handler for a store.
|
||||
// TODO: better documentation!
|
||||
pub type OnCalledHandler = Box<
|
||||
dyn FnOnce(StoreMut<'_>) -> Result<OnCalledAction, Box<dyn std::error::Error + Send + Sync>>,
|
||||
>;
|
||||
|
||||
Reference in New Issue
Block a user