Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Func ¶
type Func[K comparable, V any] func(ctx context.Context, key K, cleanup func()) (V, error)
Func is the type of the function to memoize.
Click to show internal directories.
Click to hide internal directories.