MCPcopy Index your code
hub / github.com/FunctionStream/function-stream / NewSourceTube

Method NewSourceTube

fs/contube/contube.go:98–98  ·  view source on GitHub ↗

NewSourceTube returns a new channel that can be used to receive events The channel would be closed when the context is done

(ctx context.Context, config ConfigMap)

Source from the content-addressed store, hash-verified

96 // NewSourceTube returns a new channel that can be used to receive events
97 // The channel would be closed when the context is done
98 NewSourceTube(ctx context.Context, config ConfigMap) (<-chan Record, error)
99}
100
101type SinkTubeFactory interface {

Callers 4

RunMethod · 0.65
StartFunctionMethod · 0.65
ConsumeEventMethod · 0.65
TestMemoryTubeFunction · 0.65

Implementers 3

PulsarEventQueueFactoryfs/contube/pulsar.go
HttpTubeFactoryfs/contube/http.go
MemoryQueueFactoryfs/contube/memory.go

Calls

no outgoing calls

Tested by 1

TestMemoryTubeFunction · 0.52