Type alias RequestValueTransformer<TMeans, TFrom, TTo>

RequestValueTransformer<TMeans, TFrom, TTo>: ((this, from, context) => TTo | PromiseLike<TTo>)

Type Parameters

  • TMeans

    A type of request processing means.

  • TFrom

    A type of original, non-transformed value.

  • TTo

    A type of transformed value.

Type declaration

    • (this, from, context): TTo | PromiseLike<TTo>
    • Signature of request value transformer function.

      It is used to transform values in context of request processing.

      Parameters

      Returns TTo | PromiseLike<TTo>

Generated using TypeDoc