isSupported.d.ts 546 B

1234567891011121314
  1. import './_version.js';
  2. /**
  3. * This is a utility method that determines whether the current browser supports
  4. * the features required to create streamed responses. Currently, it checks if
  5. * [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
  6. * can be created.
  7. *
  8. * @return {boolean} `true`, if the current browser meets the requirements for
  9. * streaming responses, and `false` otherwise.
  10. *
  11. * @memberof module:workbox-streams
  12. */
  13. declare function isSupported(): boolean;
  14. export { isSupported };