async function setup()

in src/index.ts [14:18]


async function setup(event: APIGatewayProxyEvent, context: Context, callback: APIGatewayProxyCallback) {
	const app = await appPromise
	const se = serverlessExpress<APIGatewayProxyEvent, APIGatewayProxyResult>({ app })
	return se(event, context, callback)
}