atayahmet / storage-based-queue Goto Github PK
View Code? Open in Web Editor NEWJavascript queue library with persistent storage based queue mechanism for the browsers environments. Specially designed for offline.
License: MIT License
Javascript queue library with persistent storage based queue mechanism for the browsers environments. Specially designed for offline.
License: MIT License
I am trying to listen to the after event for tag called 'dummy'. When I do this:
this.channel.on("[dummy]:after", function() {
console.log('test test');
});
It just throws an error. I think there is a bug when determine the event type.
storage-based-queue/src/channel.js
Line 203 in 183b396
Hi, I think clear should be returned as a promise. Currently I am trying to listen when clear is completed but I could not.
Hi @atayahmet
Is it possible to auto stop the channel if there is any failure worker? Thanks
Hi
I am currently experiencing some issues with packaging my project using uglifyjs. Seems like this project is throwing some errors when building with uglifyjs:
ERROR in vendor.js from UglifyJs
Unexpected token: name (r) [xxxxxxxx]
Could you help us to make it uglifyjs-compatible?
Thanks
I noticed that channel.isStooped flag is set to true right after channel.stop() or channel.forceStop() is called. Do we have anything I can use to determine if the channel is fully stopped? Thanks
HI @atayahmet
Could we enforce channel to be completely stopped after stop/forcestop is called? I mean currently if I call stop/forcestop, the channel is like 'paused'. But it gets automatically resumed after another task is added. Is there any quick enhancement we could do to give API an option to completely stop the channel until the next start() is called?
Thanks for help
Hi. im Andy
I have a question that there is any plan to support this feature?
Thanks
I have tried adding a worker to a single channel without calling start(). Expect to see some data in my indexedb inspector from chrome but there is nothing. Am I missing anything? Thanks
I am wondering if we could have a listener that gets notified every time when channel becomes empty
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.