Documentation ¶
Index ¶
- Constants
- func Async(fn func() Value) chan Value
- 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 GoErr(err *error, fn func())
- func GoSafe(fn func(), cb ...func(err error))
- func GoTimeout(dur time.Duration, fn func()) (gErr error)
- func SetMaxConcurrent(concurrent int64)
- type Promise
- type SpinLock
- type Value
- type WaitGroup
Constants ¶
View Source
const Name = "syncx"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WaitGroup ¶
type WaitGroup struct { Concurrent uint32 // contains filtered or unexported fields }
func (*WaitGroup) SetConcurrent ¶
Click to show internal directories.
Click to hide internal directories.