/** * ------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. * See License in the project root for license information. * ------------------------------------------------------------------------------------------- */ /** * Middleware * Class for FetchHandler */ export class CustomFetchHandler { constructor(customFetch) { this.customFetch = customFetch; } /** * @inheritdoc */ async execute(url, requestInit) { return await this.customFetch(url, requestInit); } } //# sourceMappingURL=customFetchHandler.js.map