PayloadValidationFunction:
    | SyncPayloadValidationFunction<T>
    | AsyncPayloadValidationFunction<T>

A function that validates the supplied payload

Type Parameters