@obarlik/streaming-pipeline-core
Version:
🔄 Memory-efficient circular buffer streaming pipeline with universal processing - by Codechu
22 lines (21 loc) • 414 B
JavaScript
/**
* External service interfaces - injectable from outside
*/
// Service tokens for external DI
export const SERVICE_TOKENS = {
LOGGER: 'logger',
METRICS: 'metrics',
CONTAINER: 'container'
};
// Default implementations (no-op)
export class NoOpLogger {
debug() { }
info() { }
warn() { }
error() { }
}
export class NoOpMetrics {
increment() { }
timing() { }
gauge() { }
}