chore: migrate to eslint 9
[poolifier.git] / examples / typescript / worker.ts
index 1d8af8d904555461173c214fc35172f53160d82e..7ab1fc5649e0c0ec366a67225304e9fc9577e47e 100644 (file)
@@ -12,7 +12,7 @@ export interface MyResponse {
 class MyThreadWorker extends ThreadWorker<MyData, MyResponse> {
   constructor () {
     super(async (data?: MyData) => await this.process(data), {
-      maxInactiveTime: 60000
+      maxInactiveTime: 60000,
     })
   }