Documentation ¶
Index ¶
- func ContextWithConfig(ctx context.Context, config Config) context.Context
- func LaunchAndWait(ctx context.Context, rlatorNames []string, fns []Launchable, ...) (outputs []interface{})
- func OrDone[T any](ctx context.Context, c chan T) chan T
- func Parallelize[IT any, OT any](ctx context.Context, rlatorName string, fn func(context.Context, IT) OT, ...) (outputs []OT)
- func Regulated[IT any, OT any](ctx context.Context, rlatorName string, fn func(context.Context, IT) OT, ...) (output OT)
- func Retype[OT any](inputs []interface{}) (outputs []OT)
- func Untype[IT any](inputs []IT) (outputs []interface{})
- type Config
- type Launchable
- type Reducer
- type ReducerWork
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LaunchAndWait ¶
func LaunchAndWait( ctx context.Context, rlatorNames []string, fns []Launchable, inputs []interface{}, ) (outputs []interface{})
func Parallelize ¶
Types ¶
type Config ¶
type Launchable ¶
type Reducer ¶
type ReducerWork ¶
type ReducerWork func() error
Click to show internal directories.
Click to hide internal directories.