FunctionHandler type

type FunctionHandler = (
  triggerInput: any,
  context: InvocationContext
) => FunctionResult<any>