Documentation ¶
Index ¶
- func MakeCustomEndpointSink[T, R any](stream runtime.TypedSinkStream[T, R], dataConsumer DataConsumer[T]) runtime.SinkConsumer[T]
- type CustomDataSink
- type CustomEndpoint
- type CustomEndpointConsumer
- type CustomOutputDataSink
- type CustomSinkEndpoint
- type DataConsumer
- type TypedCustomEndpointConsumer
- func (ep *TypedCustomEndpointConsumer[T, R]) Consume(value T)
- func (ep *TypedCustomEndpointConsumer[T, R]) SetSinkCallback(callback runtime.SinkCallback[T])
- func (ep *TypedCustomEndpointConsumer[T, R]) Start(ctx context.Context) error
- func (ep *TypedCustomEndpointConsumer[T, R]) Stop(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCustomEndpointSink ¶
func MakeCustomEndpointSink[T, R any](stream runtime.TypedSinkStream[T, R], dataConsumer DataConsumer[T]) runtime.SinkConsumer[T]
Types ¶
type CustomDataSink ¶
type CustomDataSink struct { *runtime.OutputDataSink // contains filtered or unexported fields }
func (*CustomDataSink) Stop ¶
func (ds *CustomDataSink) Stop(ctx context.Context)
func (*CustomDataSink) WaitGroup ¶ added in v0.0.175
func (ds *CustomDataSink) WaitGroup() *sync.WaitGroup
type CustomEndpoint ¶
type CustomEndpoint struct {
*runtime.DataSinkEndpoint
}
func (*CustomEndpoint) Stop ¶
func (ep *CustomEndpoint) Stop(ctx context.Context)
type CustomEndpointConsumer ¶
type CustomOutputDataSink ¶ added in v0.0.175
type CustomSinkEndpoint ¶
type DataConsumer ¶
type TypedCustomEndpointConsumer ¶
type TypedCustomEndpointConsumer[T, R any] struct { *runtime.DataSinkEndpointConsumer[T, R] // contains filtered or unexported fields }
func (*TypedCustomEndpointConsumer[T, R]) Consume ¶
func (ep *TypedCustomEndpointConsumer[T, R]) Consume(value T)
func (*TypedCustomEndpointConsumer[T, R]) SetSinkCallback ¶ added in v0.0.186
func (ep *TypedCustomEndpointConsumer[T, R]) SetSinkCallback(callback runtime.SinkCallback[T])
func (*TypedCustomEndpointConsumer[T, R]) Start ¶
func (ep *TypedCustomEndpointConsumer[T, R]) Start(ctx context.Context) error
func (*TypedCustomEndpointConsumer[T, R]) Stop ¶
func (ep *TypedCustomEndpointConsumer[T, R]) Stop(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.