Skip to content

Commit

Permalink
docs: telemetry note on close force in worker
Browse files Browse the repository at this point in the history
  • Loading branch information
fgozdz committed Nov 13, 2024
1 parent fa51711 commit bf72d3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/classes/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,8 @@ will never work with more accuracy than 1ms. */
* This method waits for current jobs to finalize before returning.
*
* @param force - Use force boolean parameter if you do not want to wait for
* current jobs to be processed.
* current jobs to be processed. When using telemetry, be mindful that it can
* interfere with the proper closure of spans, potentially preventing them from being exported.
*
* @returns Promise that resolves when the worker has been closed.
*/
Expand Down

0 comments on commit bf72d3f

Please sign in to comment.