Skip to content

Commit

Permalink
fix(types): add missing unref option
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlup committed Nov 9, 2023
1 parent f0a1dfa commit 6ad9075
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/sampler.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ declare interface SamplerOptions {
*/
sampleInterval?: number,

/**
* Unreference the sampling timer. If set to `true` the timer
* will leep the event loop alive.
*/
unref?: boolean
/**
* Garbage collection metric options
*/
Expand Down

0 comments on commit 6ad9075

Please sign in to comment.