Type alias AppSyncHandler<T, R>

AppSyncHandler<T, R>: ((context) => Promise<R>)

Type Parameters

  • T

  • R

Type declaration

    • (context): Promise<R>
    • A function that handles an AppSync resolver event. Receives the context object and returns the response.

      Parameters

      Returns Promise<R>

Generated using TypeDoc