Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/The-Don-Himself/ember-service-worker-enqueue
An Ember Service Worker plugin that catches failed mutation requests e.g POST, PUT, DELETE and queues them for background processing.
https://github.com/The-Don-Himself/ember-service-worker-enqueue
Last synced: 3 months ago
JSON representation
An Ember Service Worker plugin that catches failed mutation requests e.g POST, PUT, DELETE and queues them for background processing.
- Host: GitHub
- URL: https://github.com/The-Don-Himself/ember-service-worker-enqueue
- Owner: The-Don-Himself
- License: mit
- Created: 2017-05-21T23:05:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:51:41.000Z (almost 2 years ago)
- Last Synced: 2024-06-03T14:11:13.715Z (5 months ago)
- Language: JavaScript
- Size: 793 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ember - ember-service-worker-enqueue - An Ember.js Service Worker plugin that catches failed mutation requests e.g POST, PUT, DELETE and queues them for background processing. (Packages / Service Workers)
README
# ember-service-worker-enqueue
An Ember Service Worker plugin that catches failed mutation requests e.g POST, PUT, DELETE and queues them for background processing.It uses Mozilla’s localforage db wrapper to enqueue mutation requests that failed either because of a failed network e.g Flacky networks or Offline mode, or server errors to perform the operations once the connection is regained and/or periodically until it succeeds.
Currently, many configuration options are hard-coded e.g expected location of localforage.min.js but I'll update it soon.
Enjoy!