Skip to content

Commit 838381d

Browse files
authored
Update doc comment of func instantiate in Module.swift
1 parent b1f54cd commit 838381d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/WasmKit/Module.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ public struct Module {
145145
/// - store: The ``Store`` to allocate the instance in.
146146
/// - imports: The imports to use for instantiation. All imported entities
147147
/// must be allocated in the given store.
148+
/// - isDebuggable: Whether the module should support debugging actions
149+
/// (breakpoints etc) after instantiation.
148150
public func instantiate(store: Store, imports: Imports = [:], isDebuggable: Bool) throws -> Instance {
149151
Instance(handle: try self.instantiateHandle(store: store, imports: imports, isDebuggable: isDebuggable), store: store)
150152
}

0 commit comments

Comments
 (0)