Type Alias WaitablePrimaryFunction<SuccessT, FailureT>

WaitablePrimaryFunction<SuccessT, FailureT>: ((args: {
    setFailure: ((value: FailureT) => boolean);
    setSuccess: ((value: SuccessT | undefined) => boolean);
    wasReset: (() => boolean);
}) => TypeOrPromisedType<void>)

Type Parameters

  • SuccessT
  • FailureT = any