Skip to content

timers: support BigInt in timers API

Adding support for BigInt in timers API. This change allows passing a BigInt value as delay when calling setTimeout and setInterval. The logic of timers was not changed, and the value limits are still enforced. Tests and docs were updated to include cases of passing BigInt to these interfaces.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

#SimilarWeb_RnD

Merge request reports

Loading