Creates a new instance of the host module type, using the list of options passed as arguments to configure it. This method is intended to be called automatically when instantiating a module via an instantiation context.
(ctx context.Context, options ...Option[T])
| 28 | // passed as arguments to configure it. This method is intended to be called |
| 29 | // automatically when instantiating a module via an instantiation context. |
| 30 | Instantiate(ctx context.Context, options ...Option[T]) (T, error) |
| 31 | } |
| 32 | |
| 33 | // Build builds the host module p in the wazero runtime r, returning the |
no outgoing calls