Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memoizer ¶
type Memoizer[K comparable, V any] struct { // contains filtered or unexported fields }
type Opt ¶
type Opt[K comparable, V any] func(m *Memoizer[K, V])
func WithCondition ¶
func WithCondition[K comparable, V any](fn func(V) bool) Opt[K, V]
Click to show internal directories.
Click to hide internal directories.