Documentation ¶
Index ¶
- Constants
- func Async(fn func() Value) chan Value
- func CancelCtx() (ctx context.Context, cancel context.CancelFunc)
- func GoChan(fn func() Value) chan Value
- func GoCtx(fn func(ctx context.Context), cb ...func(err error)) context.CancelFunc
- func GoDelay(fn func(), durations ...time.Duration)
- func GoSafe(fn func(), cb ...func(err error))
- func Monitor(timeout time.Duration, run func(), errFn func(err error))
- func Timeout(dur time.Duration, fn func()) (gErr error)
- type Promise
- type Value
- type WaitGroup
Constants ¶
View Source
const DefaultConcurrent = 16
View Source
const Name = "syncx"
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.