Files
wahrwelt-a-d-setup/components/neo/pkg/gstream/stream.go
T

14 lines
194 B
Go

package gstream
import "context"
type RStream[T any] interface {
Recv() (*T, error)
Context() context.Context
}
type WStream[T any] interface {
Send(*T) error
Context() context.Context
}