waterfall

package
v0.0.0-...-799f385 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Waterfall_Go

func Waterfall_Go(tasks []Task, final Task)

每个Task都在调用者routine中执行 every task will execute in one routine(caller routine)

func Waterfall_Simple

func Waterfall_Simple(tasks []Task, final Task)

简版 测试函数指针等 just callback directly

Types

type Callback

type Callback func(err bool, args ...interface{})

type Task

type Task func(args ...interface{})

Jump to

Keyboard shortcuts

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