{"name":"@types/scheduler","version":"0.28.0","license":"MIT","_id":"@types/scheduler@0.28.0","maintainers":[{"name":"types","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/Methuselah96","name":"Nathan Bierema","githubUsername":"Methuselah96"},{"url":"https://github.com/eps1lon","name":"Sebastian Silbermann","githubUsername":"eps1lon"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scheduler","dist":{"shasum":"bfb865f901ad0bf6cd71eb02e64570253157e0d3","tarball":"http://registry-npm.ywwl.com/@types/scheduler/download/@types/scheduler-0.28.0.tgz","fileCount":5,"integrity":"sha512-WuK7EQ0YBvNbYwanHo+x3kixrg10+7Ak4rmYmy1dYo3l4FCh0XWeoq/SdqQamKA5wShXse8WRhh0Tt1czTAuTQ==","signatures":[{"sig":"MEQCIFor0gNk3hD+I7gF+P8NKdeKV8n5IDjlpFxaR9jDXmPRAiBGk+jPgcQBONjiwcQfFAMn1YQ3yZXcTBIilSp9CVJ21g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIDCENB2lZSaGTPOxhfRRY80JlLpif951cpx5HtNI8RcZAiEA8HRF9QY7qJZJbiZKd4GCsW2+GlWgGl6Az8/vrmUfg3g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5545,"size":1995,"noattachment":false,"key":"/@types/scheduler/-/@types/scheduler-0.28.0.tgz"},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/scheduler"},"description":"TypeScript definitions for scheduler","directories":{},"_nodeVersion":"24.20.0","dependencies":{},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.6","_npmOperationalInternal":{"tmp":"tmp/scheduler_0.28.0_1788977168196_0.6616763859054542","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"2655ea4cfb26d4f0cbfb5cd97dda927386d54fa972c25bf44fc339aa87434ec8","readme":"# Installation\r\n> `npm install --save @types/scheduler`\r\n\r\n# Summary\r\nThis package contains type definitions for scheduler (https://react.dev/).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scheduler.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scheduler/index.d.ts)\r\n````ts\r\n// eslint-disable-next-line @typescript-eslint/no-invalid-void-type\nexport type FrameCallbackType = (didTimeout: boolean) => FrameCallbackType | void;\nexport interface CallbackNode {\n    callback: FrameCallbackType;\n    priorityLevel: number;\n    expirationTime: number;\n    next: CallbackNode | null;\n    prev: CallbackNode | null;\n}\n\nexport const unstable_ImmediatePriority = 1;\nexport const unstable_UserBlockingPriority = 2;\nexport const unstable_NormalPriority = 3;\nexport const unstable_IdlePriority = 5;\nexport const unstable_LowPriority = 4;\nexport function unstable_runWithPriority<T>(priorityLevel: number, eventHandler: () => T): T;\nexport function unstable_scheduleCallback(\n    priorityLevel: number,\n    callback: FrameCallbackType,\n    options?: { delay?: number | undefined; timeout?: number | undefined },\n): CallbackNode;\nexport function unstable_next<T>(eventHandler: () => T): T;\nexport function unstable_cancelCallback(callbackNode: CallbackNode): void;\nexport function unstable_wrapCallback(callback: FrameCallbackType): () => FrameCallbackType;\nexport function unstable_getCurrentPriorityLevel(): number;\nexport function unstable_shouldYield(): boolean;\nexport function unstable_continueExecution(): void;\nexport function unstable_pauseExecution(): void;\nexport function unstable_getFirstCallbackNode(): CallbackNode | null;\nexport function unstable_now(): number;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Wed, 09 Sep 2026 18:05:03 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Nathan Bierema](https://github.com/Methuselah96), and [Sebastian Silbermann](https://github.com/eps1lon).\r\n","publish_time":1788977168274,"_cnpm_publish_time":1788977168274,"dist-tags":{"latest":"0.28.0","ts2.1":"0.12.0","ts2.2":"0.12.0","ts2.3":"0.12.0","ts2.4":"0.12.0","ts2.5":"0.12.0","ts2.6":"0.12.0","ts2.7":"0.12.0","ts2.8":"0.16.1","ts2.9":"0.16.1","ts3.0":"0.16.1","ts3.1":"0.16.1","ts3.2":"0.16.1","ts3.3":"0.16.1","ts3.4":"0.16.1","ts3.5":"0.16.1","ts3.6":"0.16.2","ts3.7":"0.16.2","ts3.8":"0.16.2","ts3.9":"0.16.2","ts4.0":"0.16.2","ts4.1":"0.16.2","ts4.2":"0.16.2","ts4.3":"0.16.3","ts4.4":"0.16.3","ts4.5":"0.16.8","ts4.6":"0.16.8","ts4.7":"0.23.0","ts4.8":"0.23.0","ts4.9":"0.23.0","ts5.0":"0.23.0","ts5.1":"0.26.0","ts5.2":"0.26.0","ts5.3":"0.26.0","ts5.4":"0.26.0","ts5.5":"0.26.0","ts5.6":"0.28.0","ts5.7":"0.28.0","ts5.8":"0.28.0","ts5.9":"0.28.0","ts6.0":"0.28.0","ts7.0":"0.28.0","ts7.1":"0.28.0"}}