/
var
/
www
/
qr4y.com
/
server
/
delivery
/
node_modules
/
@types
/
node
/
/var/www/qr4y.com/server/delivery/node_modules/@types/node
mkdir
upload
Name
Size
Mode
Actions
assert/
-
0755
rm
dns/
-
0755
rm
fs/
-
0755
rm
stream/
-
0755
rm
timers/
-
0755
rm
assert.d.ts
38561
0755
edit
dl
rm
async_hooks.d.ts
20933
0755
edit
dl
rm
buffer.d.ts
102175
0755
edit
dl
rm
child_process.d.ts
66120
0755
edit
dl
rm
cluster.d.ts
20539
0755
edit
dl
rm
console.d.ts
18331
0755
edit
dl
rm
constants.d.ts
613
0755
edit
dl
rm
crypto.d.ts
152409
0755
edit
dl
rm
dgram.d.ts
26735
0755
edit
dl
rm
diagnostics_channel.d.ts
5936
0755
edit
dl
rm
dns.d.ts
29697
0755
edit
dl
rm
domain.d.ts
7805
0755
edit
dl
rm
events.d.ts
29065
0755
edit
dl
rm
fs.d.ts
176211
0755
edit
dl
rm
globals.d.ts
9252
0755
edit
dl
rm
globals.global.d.ts
39
0755
edit
dl
rm
http.d.ts
64373
0755
edit
dl
rm
http2.d.ts
112387
0755
edit
dl
rm
https.d.ts
21371
0755
edit
dl
rm
index.d.ts
6394
0755
edit
dl
rm
inspector.d.ts
125418
0755
edit
dl
rm
LICENSE
1141
0755
edit
dl
rm
module.d.ts
4089
0755
edit
dl
rm
net.d.ts
36766
0755
edit
dl
rm
os.d.ts
16674
0755
edit
dl
rm
package.json
5105
0755
edit
dl
rm
path.d.ts
7064
0755
edit
dl
rm
perf_hooks.d.ts
21036
0755
edit
dl
rm
process.d.ts
73093
0755
edit
dl
rm
punycode.d.ts
5482
0755
edit
dl
rm
querystring.d.ts
6487
0755
edit
dl
rm
readline.d.ts
26488
0755
edit
dl
rm
README.md
2499
0755
edit
dl
rm
repl.d.ts
19463
0755
edit
dl
rm
stream.d.ts
64203
0755
edit
dl
rm
string_decoder.d.ts
2818
0755
edit
dl
rm
timers.d.ts
4604
0755
edit
dl
rm
tls.d.ts
50769
0755
edit
dl
rm
trace_events.d.ts
6780
0755
edit
dl
rm
tty.d.ts
9854
0755
edit
dl
rm
url.d.ts
39297
0755
edit
dl
rm
util.d.ts
64299
0755
edit
dl
rm
v8.d.ts
15269
0755
edit
dl
rm
vm.d.ts
20970
0755
edit
dl
rm
wasi.d.ts
7051
0755
edit
dl
rm
worker_threads.d.ts
32234
0755
edit
dl
rm
zlib.d.ts
19520
0755
edit
dl
rm
Edit:
/var/www/qr4y.com/server/delivery/node_modules/@types/node/timers.d.ts
(4604B)
/** * The `timer` module exposes a global API for scheduling functions to * be called at some future period of time. Because the timer functions are * globals, there is no need to call `require('timers')` to use the API. * * The timer functions within Node.js implement a similar API as the timers API * provided by Web Browsers but use a different internal implementation that is * built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout). * @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/timers.js) */ declare module 'timers' { import { Abortable } from 'node:events'; import { setTimeout as setTimeoutPromise, setImmediate as setImmediatePromise, setInterval as setIntervalPromise } from 'node:timers/promises'; interface TimerOptions extends Abortable { /** * Set to `false` to indicate that the scheduled `Timeout` * should not require the Node.js event loop to remain active. * @default true */ ref?: boolean | undefined; } let setTimeout: typeof global.setTimeout; let clearTimeout: typeof global.clearTimeout; let setInterval: typeof global.setInterval; let clearInterval: typeof global.clearInterval; let setImmediate: typeof global.setImmediate; let clearImmediate: typeof global.clearImmediate; global { namespace NodeJS { // compatibility with older typings interface Timer extends RefCounted { hasRef(): boolean; refresh(): this; [Symbol.toPrimitive](): number; } interface Immediate extends RefCounted { /** * If true, the `Immediate` object will keep the Node.js event loop active. * @since v11.0.0 */ hasRef(): boolean; _onImmediate: Function; // to distinguish it from the Timeout class } interface Timeout extends Timer { /** * If true, the `Timeout` object will keep the Node.js event loop active. * @since v11.0.0 */ hasRef(): boolean; /** * Sets the timer's start time to the current time, and reschedules the timer to * call its callback at the previously specified duration adjusted to the current * time. This is useful for refreshing a timer without allocating a new * JavaScript object. * * Using this on a timer that has already called its callback will reactivate the * timer. * @since v10.2.0 * @return a reference to `timeout` */ refresh(): this; [Symbol.toPrimitive](): number; } } function setTimeout<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timeout; // util.promisify no rest args compability // tslint:disable-next-line void-return function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout; namespace setTimeout { const __promisify__: typeof setTimeoutPromise; } function clearTimeout(timeoutId: NodeJS.Timeout | string | number | undefined): void; function setInterval<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timer; // util.promisify no rest args compability // tslint:disable-next-line void-return function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timer; namespace setInterval { const __promisify__: typeof setIntervalPromise; } function clearInterval(intervalId: NodeJS.Timeout | string | number | undefined): void; function setImmediate<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): NodeJS.Immediate; // util.promisify no rest args compability // tslint:disable-next-line void-return function setImmediate(callback: (args: void) => void): NodeJS.Immediate; namespace setImmediate { const __promisify__: typeof setImmediatePromise; } function clearImmediate(immediateId: NodeJS.Immediate | undefined): void; function queueMicrotask(callback: () => void): void; } } declare module 'node:timers' { export * from 'timers'; }
Save
cmd:
run