Skip to content

@vite-pwa/workbox-swkit/streams ​

Package

Declaration: @vite-pwa/workbox-swkit/streams

Function Summary ​

NameDescription
concatenate Takes multiple source Promises, each of which could resolve to a Response, a ReadableStream, or a BodyInit.
concatenateToResponse Takes multiple source Promises, each of which could resolve to a Response, a ReadableStream, or a BodyInit, along with a HeadersInit.
isSupported This is a utility method that determines whether the current browser supports the features required to create streamed responses. Currently, it checks if ReadableStream can be created.
strategy A shortcut to create a strategy that could be dropped-in to Workbox's router.

Interface Summary ​

TypeDescription
StreamsHandlerCallback

Type Alias Summary ​

NameDescription
StreamSource

Released under the MIT License.