MCPcopy Create free account
hub / github.com/actiontech/dtle / NewTimestampContext

Function NewTimestampContext

driver/oracle/extractor/extractor_oracle.go:666–674  ·  view source on GitHub ↗
(stopCh chan struct{}, logger g.LoggerType, emptyQueueFunc func() bool)

Source from the content-addressed store, hash-verified

664}
665
666func NewTimestampContext(stopCh chan struct{}, logger g.LoggerType, emptyQueueFunc func() bool) *TimestampContext {
667 return &TimestampContext{
668 stopCh: stopCh,
669 logger: logger,
670 emptyQueueFunc: emptyQueueFunc,
671
672 TimestampCh: make(chan uint32, 16),
673 }
674}
675
676// StreamEvents will begin streaming events. It will be blocking, so should be
677// executed by a goroutine

Callers 1

NewExtractorOracleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected