mux

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

A mux proc merges multiple upstream inputs into one output like combine but labels each batch.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Batch

type Batch struct {
	zbuf.Batch
	Label int
}

type Proc

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

func New

func New(pctx *proc.Context, parents []proc.Interface) *Proc

func (*Proc) Done

func (p *Proc) Done()

func (*Proc) Pull

func (p *Proc) Pull() (zbuf.Batch, error)

Pull implements the merge logic for returning data from the upstreams.

Jump to

Keyboard shortcuts

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