middleware
near-bindgen • Docs
near-sdk-js v2.0.0 / near-bindgen / middleware
Function: middleware()
middleware<
Arguments
>(...middlewares
):DecoratorFunction
Tells the SDK to apply an array of passed in middleware to the function execution.
Type Parameters
• Arguments extends any
[]
Parameters
• ...middlewares: Middleware
<Arguments
>[]
The middlewares to be executed.
Returns
DecoratorFunction
Defined in
Last updated