pipe

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcanyThing added in v0.1.2

type ProcanyThing func(into chan<- anyThing, from <-chan anyThing)

ProcanyThing is the signature of the inner process of any linear pipe-network

Example: the identity core:

samesame := func(into chan<- anyThing, from <-chan anyThing) { into <- <-from }

Note: type ProcanyThing is provided for documentation purpose only.

The implementation uses the explicit function signature in order to avoid some genny-related issue.

Note: In https://talks.golang.org/2012/waza.slide#40
Rob Pike uses a ProcanyThing named `worker`.

Jump to

Keyboard shortcuts

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