ACIL FM
Dark
Refresh
Current DIR:
/home/benbot/bot/server/node_modules/@humanwhocodes/retry/dist
/
home
benbot
bot
server
node_modules
@humanwhocodes
retry
dist
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
retrier.cjs
13.44 MB
chmod
View
DL
Edit
Rename
Delete
retrier.d.cts
1.84 MB
chmod
View
DL
Edit
Rename
Delete
retrier.d.ts
1.84 MB
chmod
View
DL
Edit
Rename
Delete
retrier.js
13.46 MB
chmod
View
DL
Edit
Rename
Delete
retrier.min.js
3.03 MB
chmod
View
DL
Edit
Rename
Delete
retrier.mjs
13.42 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/benbot/bot/server/node_modules/@humanwhocodes/retry/dist/retrier.d.ts
/** * A class that manages a queue of retry jobs. */ export class Retrier { /** * Creates a new instance. * @param {Function} check The function to call. * @param {object} [options] The options for the instance. * @param {number} [options.timeout] The timeout for the queue. * @param {number} [options.maxDelay] The maximum delay for the queue. * @param {number} [options.concurrency] The maximum number of concurrent tasks. */ constructor(check: Function, { timeout, maxDelay, concurrency }?: { timeout?: number | undefined; maxDelay?: number | undefined; concurrency?: number | undefined; } | undefined); /** * Gets the number of tasks waiting to be retried. * @returns {number} The number of tasks in the retry queue. */ get retrying(): number; /** * Gets the number of tasks waiting to be processed in the pending queue. * @returns {number} The number of tasks in the pending queue. */ get pending(): number; /** * Gets the number of tasks currently being processed. * @returns {number} The number of tasks currently being processed. */ get working(): number; /** * Adds a new retry job to the queue. * @template {(...args: unknown[]) => Promise<unknown>} Func * @template {Awaited<ReturnType<Func>>} RetVal * @param {Func} fn The function to call. * @param {object} [options] The options for the job. * @param {AbortSignal} [options.signal] The AbortSignal to monitor for cancellation. * @returns {Promise<RetVal>} A promise that resolves when the queue is processed. */ retry<Func extends (...args: unknown[]) => Promise<unknown>, RetVal extends Awaited<ReturnType<Func>>>(fn: Func, { signal }?: { signal?: AbortSignal | undefined; } | undefined): Promise<RetVal>; #private; }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply