batching

package module
v0.0.0-...-f672e97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2018 License: NCSA Imports: 6 Imported by: 0

README

Batching

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNaive

func NewNaive(runner func([]steps.IDer), data <-chan steps.IDer, opts ...Option) (*batch, error)

Types

type Option

type Option func(*Options)

func BatchSize

func BatchSize(batchsize int) Option

func Context

func Context(ctx context.Context) Option

type Options

type Options struct {
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(opts ...Option) *Options

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL