Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatcherFunc ¶
type DynamicSizeCache ¶
func NewDynamicSizeCache ¶
func NewDynamicSizeCache[T Sizable, M any](s WStream[M], maxSize int, bf BatcherFunc[T, *M]) *DynamicSizeCache[T, M]
func (*DynamicSizeCache[T, M]) Context ¶
func (d *DynamicSizeCache[T, M]) Context() context.Context
func (*DynamicSizeCache[T, M]) Flush ¶
func (d *DynamicSizeCache[T, M]) Flush() error
func (*DynamicSizeCache[T, M]) Queue ¶
func (d *DynamicSizeCache[T, M]) Queue(ts ...T) error
Click to show internal directories.
Click to hide internal directories.