Interface UseDerivedWaitableNamedTransformers<SuccessT, FailureT, DependenciesT>
interface UseDerivedWaitableNamedTransformers<SuccessT, FailureT, DependenciesT> { always?: UseDerivedWaitableOptionalValuesTransformer<SuccessT, FailureT, DependenciesT>; ifError?: UseDerivedWaitableOptionalValuesTransformer<SuccessT, FailureT, DependenciesT>; ifErrorOrLoading?: UseDerivedWaitableOptionalValuesTransformer<SuccessT, FailureT, DependenciesT>; ifLoaded?: UseDerivedWaitableRequiredValuesTransformer<SuccessT, FailureT, DependenciesT>; ifLoading?: UseDerivedWaitableOptionalValuesTransformer<SuccessT, FailureT, DependenciesT>; } Properties
Transformers that are used depending on the state of the waitables.
The first applicable transformer is used, evaluated in the following order:
ifLoaded
,ifError
,ifLoading
,ifErrorOrLoading
,always