@@ -208,8 +208,7 @@ class ActiveChannel {
208208 }
209209
210210 runStores ( data , fn , thisArg , ...args ) {
211- // eslint-disable-next-line no-unused-vars
212- using scope = this . withStoreScope ( data ) ;
211+ using _ = this . withStoreScope ( data ) ;
213212 return ReflectApply ( fn , thisArg , args ) ;
214213 }
215214}
@@ -406,8 +405,7 @@ class BoundedChannel {
406405
407406 run ( context , fn , thisArg , ...args ) {
408407 context ??= { } ;
409- // eslint-disable-next-line no-unused-vars
410- using scope = this . withScope ( context ) ;
408+ using _ = this . withScope ( context ) ;
411409 return ReflectApply ( fn , thisArg , args ) ;
412410 }
413411}
@@ -535,8 +533,7 @@ class TracingChannel {
535533
536534 const { error } = this ;
537535
538- // eslint-disable-next-line no-unused-vars
539- using scope = this . #callWindow. withScope ( context ) ;
536+ using _ = this . #callWindow. withScope ( context ) ;
540537 try {
541538 const result = ReflectApply ( fn , thisArg , args ) ;
542539 context . result = result ;
@@ -568,8 +565,7 @@ class TracingChannel {
568565 context . error = err ;
569566 error . publish ( context ) ;
570567 // Use continuation window for asyncStart/asyncEnd
571- // eslint-disable-next-line no-unused-vars
572- using scope = continuationWindow . withScope ( context ) ;
568+ using _ = continuationWindow . withScope ( context ) ;
573569 // TODO: Is there a way to have asyncEnd _after_ the continuation?
574570 }
575571
@@ -581,14 +577,12 @@ class TracingChannel {
581577 function onResolve ( result ) {
582578 context . result = result ;
583579 // Use continuation window for asyncStart/asyncEnd
584- // eslint-disable-next-line no-unused-vars
585- using scope = continuationWindow . withScope ( context ) ;
580+ using _ = continuationWindow . withScope ( context ) ;
586581 // TODO: Is there a way to have asyncEnd _after_ the continuation?
587582 return result ;
588583 }
589584
590- // eslint-disable-next-line no-unused-vars
591- using scope = this . #callWindow. withScope ( context ) ;
585+ using _ = this . #callWindow. withScope ( context ) ;
592586 try {
593587 const result = ReflectApply ( fn , thisArg , args ) ;
594588 // If the return value is not a thenable, return it directly with a warning.
@@ -637,17 +631,15 @@ class TracingChannel {
637631 }
638632
639633 // Use continuation window for asyncStart/asyncEnd around callback
640- // eslint-disable-next-line no-unused-vars
641- using scope = continuationWindow . withScope ( context ) ;
634+ using _ = continuationWindow . withScope ( context ) ;
642635 return ReflectApply ( callback , this , arguments ) ;
643636 }
644637
645638 const callback = ArrayPrototypeAt ( args , position ) ;
646639 validateFunction ( callback , 'callback' ) ;
647640 ArrayPrototypeSplice ( args , position , 1 , wrappedCallback ) ;
648641
649- // eslint-disable-next-line no-unused-vars
650- using scope = this . #callWindow. withScope ( context ) ;
642+ using _ = this . #callWindow. withScope ( context ) ;
651643 try {
652644 return ReflectApply ( fn , thisArg , args ) ;
653645 } catch ( err ) {
0 commit comments