Comments (8)
+1
Would like to see this as well. Have to maintain a separate status flag now.
from punchclock.
So, instead of serializing operations with the same key, you want to drop them on the floor, right?
from punchclock.
Indeed. This is (at least for me) about repetitive, reentrant synchronization operations where it does not matter when one or more are skipped.
from punchclock.
I haven't looked into the implementation yet. But it'd make sense if the priority is validated first to make sure only lower or equal priority is dropped, and higher priority gets replaced - Presuming of course, the existing behavior remain untouched, and so that this feature is explicit is in its nature using a different method name perhaps.
from punchclock.
You could get a version of what you want by changing the Concat
here to a Switch
, but that means that an existing operation with the same key would be cancelled, and the latest one would take precedence. Probably not what you want.
from punchclock.
@paulcbetts I am also very interested in this feature. Does anyone here have an implementation for this?
from punchclock.
@prasannavl @Rintje @megakid we are preparing for a new release of punchclock (upgrade to netstandard v1.0 and implement CI) - if you're interested in taking lead position (with oversight/mentorship from Paul) in implementing this please let us know.
from punchclock.
I close this issue cause it seems a bit out the scope to me and since no one mentioned about it in the last 2 (3?) years, there's no reason to keep it open.
If anyone is willing to take this further and try to implement it in a way that won't break what we currently have , I'm more than glad to look into it.
from punchclock.
Related Issues (11)
- Performance niggle HOT 5
- Re-enable Unit Tests HOT 1
- Limitation to System.Reactive < 4.0.0 holds me from upgrading other packages (Akavache) HOT 1
- update readme link HOT 1
- update links HOT 1
- Dependency Dashboard
- Allow maximumConcurrent value to be changed on an OperationQueue instance HOT 2
- NuGet project does not automatically install dependencies
- feature: extend the OperationQueue by adding support for randomness HOT 1
- Resume Queue Implemented HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from punchclock.