
  The highest tagged major version is
      
v3.
    
 
    
  
    
       package
    
    
    
      package
    
    
      
        
      
    
   
    
      
  
    
      
  
    
      Version: 
        v2.7.1
    
    
      Opens a new window with list of versions in this module.
    
    
    
  
      
  
    Published: Sep 30, 2025
  
      
  
    License: Apache-2.0
      
    
  
  
    Opens a new window with license information.
  
      
        
  
    
      Imports: 8
    
  
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by: 6
    
  
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
    
      
    
    
    
  
    
      
      
        
          
  
    
       Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    
      
        
 
  
  
  
  
  
  
  
      
  
  
    
    
    
      type Stream[T any] struct {
	
}
     
  
    
  
  
    
    
    
      func (s *Stream[T]) Current() T
     
  
  
   
    
  
  
    
    
    
  Next returns false if the stream has ended or an error occurred.
Call Stream.Current() to get the current value.
Call Stream.Err() to get the error.
	for stream.Next() {
		data := stream.Current()
	}
 	if stream.Err() != nil {
		...
 	}
  
   
  
       
      
     
   
        
      
      
        
  
    
       Source Files
      ¶
      Source Files
      ¶
    
   
      
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.