Type Alias MiddlewareFunction<ArgumentT, ReturnT>

MiddlewareFunction<ArgumentT, ReturnT>: ((arg: ArgumentT) => Promise<ReturnT>)

Function around which the middlewares are added.

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.

Type Parameters

  • ArgumentT
  • ReturnT