📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 06:24:52
📂
/ (Root)
/
home
/
orkouolp
/
web
/
testing.orkobd
/
laravel
/
node_modules
/
rxjs
/
src
/
internal
/
scheduler
📍 /home/orkouolp/web/testing.orkobd/laravel/node_modules/rxjs/src/internal/scheduler
🔄 Refresh
✏️
Editing: immediateProvider.ts
Writable
import { Immediate } from '../util/Immediate'; import type { TimerHandle } from './timerHandle'; const { setImmediate, clearImmediate } = Immediate; type SetImmediateFunction = (handler: () => void, ...args: any[]) => TimerHandle; type ClearImmediateFunction = (handle: TimerHandle) => void; interface ImmediateProvider { setImmediate: SetImmediateFunction; clearImmediate: ClearImmediateFunction; delegate: | { setImmediate: SetImmediateFunction; clearImmediate: ClearImmediateFunction; } | undefined; } export const immediateProvider: ImmediateProvider = { // When accessing the delegate, use the variable rather than `this` so that // the functions can be called without being bound to the provider. setImmediate(...args) { const { delegate } = immediateProvider; return (delegate?.setImmediate || setImmediate)(...args); }, clearImmediate(handle) { const { delegate } = immediateProvider; return (delegate?.clearImmediate || clearImmediate)(handle as any); }, delegate: undefined, };
💾 Save Changes
❌ Cancel