File tree Expand file tree Collapse file tree
packages/client/src/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ export class SSEClientTransport implements Transport {
245245 const GRACEFUL_CLOSE_TIMEOUT = 2000 ;
246246 await Promise . race ( [
247247 Promise . allSettled ( this . _pendingRequests ) ,
248- new Promise < void > ( ( resolve ) => setTimeout ( resolve , GRACEFUL_CLOSE_TIMEOUT ) )
248+ new Promise < void > ( resolve => setTimeout ( resolve , GRACEFUL_CLOSE_TIMEOUT ) )
249249 ] ) ;
250250 }
251251 this . _abortController ?. abort ( ) ;
Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ export class StreamableHTTPClientTransport implements Transport {
459459 const GRACEFUL_CLOSE_TIMEOUT = 2000 ;
460460 await Promise . race ( [
461461 Promise . allSettled ( this . _pendingRequests ) ,
462- new Promise < void > ( ( resolve ) => setTimeout ( resolve , GRACEFUL_CLOSE_TIMEOUT ) )
462+ new Promise < void > ( resolve => setTimeout ( resolve , GRACEFUL_CLOSE_TIMEOUT ) )
463463 ] ) ;
464464 }
465465 this . _abortController ?. abort ( ) ;
You can’t perform that action at this time.
0 commit comments