Skip to content

@flarelog/sdk


@flarelog/sdk / PagesFunctionHandler

Type Alias: PagesFunctionHandler<T> ​

PagesFunctionHandler<T> = (context) => Promise<T>

Defined in: types.ts:397

Cloudflare Pages Function handler signature

Type Parameters ​

T ​

T = Response

Parameters ​

context ​

PagesFunctionContext

Returns ​

Promise<T>

Released under the MIT License.