PerceptionBuffer constructor

PerceptionBuffer({
  1. int capacity = 50,
  2. Duration retentionDuration = const Duration(seconds: 3),
  3. ConsciousnessLogger? logger,
})

Implementation

PerceptionBuffer({
  this.capacity = 50,
  this.retentionDuration = const Duration(seconds: 3),
  ConsciousnessLogger? logger,
})  : assert(capacity > 0),
      _logger = logger ?? ConsciousnessLogger('PerceptionBuffer');