Type Alias InferWaitableFailureType<T>

InferWaitableFailureType<T>: T extends Waitable<infer _SuccessT, infer FailureT>
    ? FailureT
    : never

Infers the failure type of the waitable

Type Parameters

  • T