delay

package
v0.0.0-...-9d95335 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chan

type Chan struct {
	Map *sync.Map
	// contains filtered or unexported fields
}

func NewChan

func NewChan(ctx context.Context, fn func(k, v interface{}), delay time.Duration) *Chan

func (*Chan) Close

func (c *Chan) Close() error

func (*Chan) Put

func (c *Chan) Put(v interface{})

func (*Chan) PutKey

func (c *Chan) PutKey(k string, v interface{})

Jump to

Keyboard shortcuts

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