A request post-processor function.

  • Parameters

    • result: Promise<any>

      the request response manipulated maybe by other processors.

    • params: ProcessorParams

      the request input parameter.

    Returns any

    manipulated response. If it is not a promise, it will be wrapped, into one.