Type alias AsyncRecipe<TValue, TArgs>

AsyncRecipe<TValue, TArgs>: TValue | PromiseLike<TValue> | AsyncRecipe.Evaluator<TValue, TArgs>

Asynchronous recipe of value evaluation.

This is either a value as-is, a promise-like instance resolving to it, or its evaluator function.

Type Parameters

  • TValue

    Evaluated value type. This can not be a function.

  • TArgs extends unknown[] = []

    A type of parameters tuple required for value evaluation.

Generated using TypeDoc