API Reference
    Preparing search index...
    AsyncHandler: (
        event: Parameters<T>[0],
        context: Parameters<T>[1],
    ) => Promise<NonNullable<Parameters<Parameters<T>[2]>[1]>>

    A type that represents an asynchronous Lambda handler.

    Type Parameters

    • T extends Handler

    Type declaration

      • (
            event: Parameters<T>[0],
            context: Parameters<T>[1],
        ): Promise<NonNullable<Parameters<Parameters<T>[2]>[1]>>
      • Parameters

        • event: Parameters<T>[0]
        • context: Parameters<T>[1]

        Returns Promise<NonNullable<Parameters<Parameters<T>[2]>[1]>>