fn

package
v0.0.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Once

func Once[F any](f F) F

func WithDelay

func WithDelay[F any](f F, delay time.Duration) F

func WithLock added in v0.0.14

func WithLock[F any](f F, locker sync.Locker) F

func WithThrottle

func WithThrottle[F any](f F, delay time.Duration) F

func WithTrace added in v0.0.14

func WithTrace[F any](f F, logger interface{ Println(v ...any) }) F

Types

This section is empty.

Jump to

Keyboard shortcuts

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