MCPcopy Create free account
hub / github.com/FunctionStream/function-stream / NewSinkTube

Method NewSinkTube

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

NewSinkTube returns a new channel that can be used to sink events The event.Commit() would be invoked after the event is sunk successfully The caller should close the channel when it is done

(ctx context.Context, config ConfigMap)

Source from the content-addressed store, hash-verified

103 // The event.Commit() would be invoked after the event is sunk successfully
104 // The caller should close the channel when it is done
105 NewSinkTube(ctx context.Context, config ConfigMap) (chan<- Record, error)
106}
107
108type TubeFactory interface {

Callers 4

RunMethod · 0.65
StartFunctionMethod · 0.65
ProduceEventMethod · 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