runners

package
v0.0.0-...-e97be17 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Broadcast

func Broadcast(procs ...pipeline.Processor) pipeline.StageRunner

func DynamicWorkerPool

func DynamicWorkerPool(proc pipeline.Processor, maxWorkers int) pipeline.StageRunner

DynamicWorkerPool returns a StageRunner that implemets a dynamic worker pool that can scale up to maxWorkers for processing incomming payloads concurrently

func FIFO

FIFO returns a StageRunner that process payloads in first-in-first-out fashion. Input passed to the specified processor and output to the next stage.

func FixedWorkerPool

func FixedWorkerPool(proc pipeline.Processor, numWorkers int) pipeline.StageRunner

StaticWorkerPool returns a StageRunner that starts a pool of numWorkers to process incoming payload in parallel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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