AsyncPayloadValidationFunction: (payload: T) => Promise<boolean>

A function that validates the supplied payload asynchronously

Type Parameters

Type declaration

    • (payload: T): Promise<boolean>
    • Parameters

      • payload: T

      Returns Promise<boolean>