@pumpkin-plugins/static-hermes-runtime API / wit/analysis / planWasiAdapterOperations
Function: planWasiAdapterOperations()
planWasiAdapterOperations(
selectedInterfaces,usedMethods?):WitWasiAdapterPlan[]
Defined in: wit/analysis.ts:165
Plan WASI adapters using only already-resolved parameter and result types.
Parameters
selectedInterfaces
readonly WitWasiInterface[]
Interfaces in the selected WASI import closure.
usedMethods?
readonly string[]
Optional operation IDs to include; when omitted, plan every operation.
Returns
Adapter plans with parameter and result types resolved for native generation.
Throws
If a selected operation is undeclared or has no supported JSI adapter.