Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCustomEndpointSink ¶
func MakeCustomEndpointSink[T any](stream runtime.TypedSinkStream[T], dataConsumer DataConsumer[T]) runtime.Consumer[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 any] struct { *runtime.DataSinkEndpointConsumer[T] // contains filtered or unexported fields }
func (*TypedCustomEndpointConsumer[T]) Consume ¶
func (ep *TypedCustomEndpointConsumer[T]) Consume(value T)
func (*TypedCustomEndpointConsumer[T]) Start ¶
func (ep *TypedCustomEndpointConsumer[T]) Start(ctx context.Context) error
func (*TypedCustomEndpointConsumer[T]) Stop ¶
func (ep *TypedCustomEndpointConsumer[T]) Stop(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.