invoke Raw
Invokes the wrapper at the specified URI with the provided options.
Return
A list of MessagePack-encoded bytes representing the invocation result
Parameters
The URI of the wrapper to be invoked.
The method to be called on the wrapper.
Arguments for the method, encoded in the MessagePack byte format
Env variables for the wrapper invocation, encoded in the MessagePack byte format
The FfiUriResolutionContext to be used during URI resolution, or null for a default context. The caller owns resolutionContext and is responsible for closing it to prevent a memory leak.
Throws
Invoke a wrapper. This method automatically retrieves and caches the wrapper.
Return
A Result containing the invocation result as a ByteArray, or an error if the invocation fails.
Parameters
The URI of the wrapper to be invoked.
The method to be called on the wrapper.
Arguments for the method, encoded in the MessagePack byte format
Env variables for the wrapper invocation, encoded in the MessagePack byte format
The FfiUriResolutionContext to be used during URI resolution, or null for a default context. The caller owns resolutionContext and is responsible for closing it to prevent a memory leak.