Skip to content

Commit

Permalink
Update experimental docs with fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Mar 18, 2024
1 parent 44c7fa5 commit c064419
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/k6/experimental/timers.d.ts
Expand Up @@ -3,7 +3,7 @@
*/

/**
* Set a timer which execution a function once the timer expires.
* Set a timer that executes a function once the timer expires.
*
* @param functionRef - The function to be executed.
* @param delay - The delay in milliseconds.
Expand All @@ -13,7 +13,7 @@
export function setTimeout(functionRef: (...args: any[]) => void, delay: number, ...args: any[]): TimeoutID;

/**
* Cancels a timeout previously set with setTimeout().
* Cancels a timer previously set with setTimeout().
*
* @param timeoutID - The timer id to be cancelled.
*/
Expand All @@ -30,7 +30,7 @@ export function clearTimeout(timeoutID: TimeoutID): void;
export function setInterval(functionRef: (...args: any[]) => void, delay: number, ...args: any[]): IntervalID;

/**
* Cancels a interval previously set with setInterval().
* Cancels an interval previously set with setInterval().
*
* @param intervalID - The interval id to be cancelled.
*/
Expand Down

0 comments on commit c064419

Please sign in to comment.