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.
Click to show internal directories.
Click to hide internal directories.