Sequential key support
See original GitHub issueI’ve been thinking about adding sequential key support to whenipress
.
The idea is that instead of registering a keyboard combo, you register a set of key presses that must be pressed in order. The syntax would look something like this:
whenipress('a', 'b', 'c', 'd', 'e', 'f', 'g').sequentially().then(e => alert('You know the start of the alphabet!'));
My issue is I don’t know how widely used this would be, and I don’t want to bloat the package with unused features as I’d like it to remain as small as possible. I did think of releasing it as a plugin that works alongside whenipress. Any thoughts or ideas are appreciated.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Sequential keys - AppSheet Help - Google Support
Is it possible to create sequential keys for each record? The brief answer is No. Some customers ask for the ability to create...
Read more >Behind the Scenes on OPTIMIZE_FOR_SEQUENTIAL_KEY
In SQL Server 2019 CTP 3.1 a new index option was added called OPTIMIZE_FOR_SEQUENTIAL_KEY that is intended to address throughput issues ...
Read more >Sequential
Support · Contact Support · Register Your Product · Artists · Dealers · ABOUT SEQUENTIAL · About · Contact Us · Careers ·...
Read more >Support sequence key generation on SQL Server ... - GitHub
We could generate a sequence (as we do for HiLo generation) and then set the column default for the key column on every...
Read more >DB2 10 - What's new - Relief for sequential key insert - IBM
This release of DB2® for z/OS® includes support for asymmetric splitting of index pages and increased index page sizes (larger than 4 KB)....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Another use-case for sequences is something like gmail and it’s support for “g i” meaning “Go to Inbox”. It supports other sequences, that’s just the first that comes to mind.
P.S.: I’m not insisting for the feature, just laying out a few usage examples.
Sure! It’s acting weird if you don’t add the
.once()
's. The firstwhenipress
shouldn’t have the.once()
.