laziness

package
v0.0.0-...-573c468 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Laziness

type Laziness[T any] interface {
	Get() (T, error)
}

func New

func New[T any](f func() (T, error)) Laziness[T]

func NewWithRetry

func NewWithRetry[T any](f func() (T, error)) Laziness[T]

Jump to

Keyboard shortcuts

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