safe

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Catch

func Catch(fn func(), onErr func(err any))

Catch 捕获错误

func Go

func Go(retry int, fn func())

Go 安全运行协程

func Retry

func Retry(retry int, fn func())

Retry 重试

Types

This section is empty.

Jump to

Keyboard shortcuts

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