type PortalFunctionHandler = [Input] extends [void] ? () => Output | Promise<Output> : (input: Input) => Output | Promise<Output>
Type Aliases
PortalFunctionHandler
Host-side handler shape for a Portal function definition.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Host-side handler shape for a Portal function definition.
type PortalFunctionHandler = [Input] extends [void] ? () => Output | Promise<Output> : (input: Input) => Output | Promise<Output>