synchronized

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Locker

type Locker interface {
	Lock()
	Unlock()
}

type Synchronized

type Synchronized interface {
	Do(fn func())
	DoError(fn func() *data.CodeError) *data.CodeError
}

func NewSynchronized

func NewSynchronized(locker Locker) Synchronized

Jump to

Keyboard shortcuts

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