source: frontend/node_modules/workbox-streams/concatenate.d.ts

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 782 bytes
Line 
1import { StreamSource } from './_types.js';
2import './_version.js';
3/**
4 * Takes multiple source Promises, each of which could resolve to a Response, a
5 * ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit).
6 *
7 * Returns an object exposing a ReadableStream with each individual stream's
8 * data returned in sequence, along with a Promise which signals when the
9 * stream is finished (useful for passing to a FetchEvent's waitUntil()).
10 *
11 * @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises
12 * @return {Object<{done: Promise, stream: ReadableStream}>}
13 *
14 * @memberof workbox-streams
15 */
16declare function concatenate(sourcePromises: Promise<StreamSource>[]): {
17 done: Promise<void>;
18 stream: ReadableStream;
19};
20export { concatenate };
Note: See TracBrowser for help on using the repository browser.