Skip to content

Commit

Permalink
fix: proper jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jeengbe committed Jan 19, 2025
1 parent 7aa3d18 commit 59c3703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asynciterable/interval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class IntervalAsyncIterable extends AsyncIterableX<number> {
* Produces a new item in an async-iterable at the given interval cycle time.
*
* @param {number} dueTime The due time in milliseconds to spawn a new item.
* @param {boolean} unref Whether to unref the interval timer.
* @param {boolean} [unref=false] Whether to unref the interval timer.
* @returns {AsyncIterableX<number>} An async-iterable producing values at the specified interval.
*/
export function interval(dueTime: number, unref = false): AsyncIterableX<number> {
Expand Down

0 comments on commit 59c3703

Please sign in to comment.