File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 
Plugins/AWSLambdaPackager 
Sources/AWSLambdaRuntimeCore Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313//===----------------------------------------------------------------------===//
1414
1515import  Dispatch
16+ import  Foundation
1617import  PackagePlugin
1718import  Synchronization
18- import  Foundation
1919
2020@available ( macOS 15 . 0 ,  * )  
2121struct  Utils  { 
Original file line number Diff line number Diff line change 1414
1515import  Foundation
1616import  Logging
17- import  NIOCore
1817import  NIOConcurrencyHelpers
18+ import  NIOCore
1919
2020// We need `@unchecked` Sendable here, as `NIOLockedValueBox` does not understand `sending` today.
2121// We don't want to use `NIOLockedValueBox` here anyway. We would love to use Mutex here, but this
2222// sadly crashes the compiler today.
2323public  final  class  LambdaRuntime < Handler> :  @unchecked   Sendable  where  Handler:  StreamingLambdaHandler  { 
2424    // TODO: We want to change this to Mutex as soon as this doesn't crash the Swift compiler on Linux anymore
25-     let  handlerMutex :  NIOLockedValueBox < Optional < Handler > > 
25+     let  handlerMutex :  NIOLockedValueBox < Handler ? > 
2626    let  logger :  Logger 
2727    let  eventLoop :  EventLoop 
2828
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments