package
0.0.0-20240510121334-1a95103205f0
Repository: https://github.com/abmpio/threadingx.git
Documentation: pkg.go.dev
# Functions
GoSafe runs the given fn using another goroutine, recovers if fn panics.
GoSafeCtx runs the given fn using another goroutine, recovers if fn panics with ctx.
GoSafe runs the given fn using another goroutine, recovers if fn panics.
NewRoutineGroup returns a RoutineGroup.
RoutineId is only for debug, never use it in production.
RunSafe runs the given fn, recovers if fn panics.
RunSafe runs the given fn, recovers if fn panics.
RunSafeCtx runs the given fn, recovers if fn panics with ctx.
No description provided by the author
# Structs
A RoutineGroup is used to group goroutines together and all wait all goroutines to be done.