Documentation
¶
Index ¶
- func Active() *active
- func FnvBytes(bytes []byte) int64
- func FnvInt64(v int64) int64
- func FnvStr(key string) int64
- func Global() *global
- func Go(fn util.FnAnySlc, params ...any)
- func InitActive(opts ...ActiveOption)
- func InitGlobal()
- func InitParallel()
- func InitShare()
- func MemHash(data []byte) int64
- func MemHashString(str string) int64
- func NewGlobal() *global
- func P[DT any](data []DT, fn func(DT))
- func PFn(fns []util.FnAnySlc, params ...any)
- func PParams[DT any](data []DT, fn func(DT, []any), params ...any)
- func PParamsToFnLink[DT any](data []DT, fn func(DT, []any, *ds.FnLink), params ...any)
- func PParamsToToLink[InT, OutT any](data []InT, fn func(InT, []any, *ds.Link[OutT]), pcr func(*ds.Link[OutT]), ...)
- func PTo[DT1, DT2 any](data []DT1, fn func(DT1) DT2, complete func([]DT2))
- func PToFnLink[DT any](data []DT, fn func(DT, *ds.FnLink))
- func PToLink[InT, OutT any](data []InT, fn func(InT, *ds.Link[OutT]), pcr func(*ds.Link[OutT]))
- func PushPJob(job IJob)
- func RecycleJob(job *Job)
- func Self(fn util.FnAnySlc, params ...any)
- func Share() *fnShare
- type ActiveOption
- type FnJob
- type FnJobData
- type FnWorker
- type IJob
- type Job
- type JobName
- type JobWorker
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitActive ¶
func InitActive(opts ...ActiveOption)
func InitGlobal ¶
func InitGlobal()
func InitParallel ¶
func InitParallel()
func MemHashString ¶
func PParamsToFnLink ¶
func PParamsToToLink ¶
func RecycleJob ¶
func RecycleJob(job *Job)
Types ¶
type ActiveOption ¶
type ActiveOption func(o *activeOption)
type FnWorker ¶
func NewFnWorker ¶
func NewFnWorker() *FnWorker
type JobWorker ¶
func NewJobWorker ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.