invoke
Invokes the wrapper at the specified URI with the provided method and arguments of type T, and environment.
Return
An InvokeResult containing the invocation result of type R, or an error if the invocation fails.
Parameters
The URI of the wrapper to be invoked.
The method to be called on the wrapper.
An instance of serializable type T representing the arguments to be passed to the method.
A map representing the environment to be used during the invocation.
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.
Invokes the wrapper at the specified URI with the provided method and arguments of type T, and environment.
Return
An InvokeResult containing the invocation result of type R, or an error if the invocation fails.
Parameters
The URI of the wrapper to be invoked.
The method to be called on the wrapper.
An instance of serializable type T representing the arguments to be passed to the method.
An instance of serializable type E representing the environment to be used during the invocation.
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.
Invokes the wrapper at the specified URI with the provided method, arguments, and environment.
Return
An InvokeResult containing the invocation result of type R, or an error if the invocation fails.
Parameters
The URI of the wrapper to be invoked.
The method to be called on the wrapper.
A map of arguments to be passed to the method.
A map representing the environment to be used during the invocation.
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.