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.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
implementPortalFunction(portalFunction: PortalFunction<Output, Input>, handler: PortalFunctionHandler<NoInfer<Output>, NoInfer<Input>>): PortalFunctionImplementation
const implementation = implementPortalFunction(getGreeting, () => "Hello");
PortalFunctionImplementation
The definition, callable, and handler as one implementation record.