quotaErrorCallbacks.js 436 B

12345678910111213
  1. /*
  2. Copyright 2018 Google LLC
  3. Use of this source code is governed by an MIT-style
  4. license that can be found in the LICENSE file or at
  5. https://opensource.org/licenses/MIT.
  6. */
  7. import '../_version.js';
  8. // Callbacks to be executed whenever there's a quota error.
  9. // Can't change Function type right now.
  10. // eslint-disable-next-line @typescript-eslint/ban-types
  11. const quotaErrorCallbacks = new Set();
  12. export { quotaErrorCallbacks };