Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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!