fx

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 0 Imported by: 60

Documentation

Overview

Package fx provides predicate-like function types to be used with operators such as Map, Filter, Scan, and Start.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmittableFunc

type EmittableFunc func() interface{}

EmittableFunc defines a function that should be used with Start operator. EmittableFunc can be used to wrap a blocking operation.

type FilterableFunc

type FilterableFunc func(interface{}) bool

FilterableFunc defines a func that should be passed to the Filter operator.

type KeySelectorFunc

type KeySelectorFunc func(interface{}) interface{}

KeySelectorFunc defines a func that should be passed to the Distinct operator.

type MappableFunc

type MappableFunc func(interface{}) interface{}

MappableFunc defines a function that acts as a predicate to the Map operator.

type ScannableFunc

type ScannableFunc func(interface{}, interface{}) interface{}

ScannableFunc defines a function that acts as a predicate to the Scan operator.

Jump to

Keyboard shortcuts

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