LSLInlet<T>  constructor 
      
      LSLInlet<T> (})
     
    
Creates a new LSLInlet instance. Parameters:
- streamInfo: The stream information to create the inlet for.
- maxBuffer: Maximum buffer size in seconds (default: 360).
- chunkSize: Maximum chunk length in seconds (default: 0).
- recover: Whether to recover from lost samples (default: true).
- createTimeout: Timeout for creating the inlet (default: LSL_FOREVER). Only used in isolated mode.
- useIsolates: Whether to use isolates for thread safety (default: true) This is recommended for most use cases to ensure thread safety, if you choose to use direct mode (- useIsolates: false), you most likely will want to still run this in an isolate to avoid blocking the main isolate.
Implementation
LSLInlet(
  this._streamInfo, {
  this.maxBuffer = 360,
  this.chunkSize = 0,
  this.recover = true,
  this.createTimeout = LSL_FOREVER,
  bool useIsolates = true,
}) : _useIsolates = useIsolates;