Skip to main content
Binds a host handler to a function created by definePortalFunction.

Parameters

required
Defined function whose metadata identifies the capability.
required
Host handler with the same input and output contract.

Returns

PortalFunctionImplementation The definition, callable, and handler as one implementation record.