st=>start: Start:>http://www.google.com[blank]
e=>end:>http://www.google.com
op1=>operation: My Operation
sub1=>subroutine: My Subroutine
cond=>condition: Yes
or No?:>http://www.google.com
io=>inputoutput: catch something...
para=>parallel: parallel tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const createKeyEventObserver = () => { | |
const PRESS_THRESHOULD_MS = 500 | |
const LONG_PRESS_TIME_MS = 1500 | |
const keyDowns = fromEvent(document.body, 'keydown') | |
const keyUps = fromEvent(document.body, 'keyup') | |
const source = keyDowns | |
.pipe( | |
merge(keyUps), |
OlderNewer