Skip to main content

FetchMiddleware.apply()

Home > @backstage/core-app-api > FetchMiddleware > apply

Applies this middleware to an inner implementation.

Signature:

apply(next: typeof fetch): typeof fetch;

Parameters

ParameterTypeDescription
nexttypeof fetchThe next, inner, implementation, that this middleware shall call out to as part of the request cycle.

Returns:

typeof fetch