git.schokokeks.org
Repositories
Help
Report an Issue
fs-words.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
6e9c872
Branches
Tags
develop-client_server
master
typescript
fs-words.git
server
lib
node_modules
performance-now
test
scripts
delayed-require.coffee
[add] server:lib:node_modules
Christian Fraß
commited
6e9c872
at 2021-03-08 23:52:07
delayed-require.coffee
Blame
History
Raw
#!/usr/bin/env ./node_modules/.bin/coffee ### Expected output is a number above 350 and below 600. The time reported is relative to the time the node.js process was started this is approximately at `(Date.now() process.uptime() * 1000)` ### delay = require "call-delayed" delay 250, -> now = require "../../lib/performance-now" console.log now().toFixed 3