iosync

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: BSD-3-Clause Imports: 2 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group interface {
	Wait()
	Background(call func())
	Run(call func())
}

func NewGroup

func NewGroup() Group

type Lock

type Lock interface {
	RLock(call func())
	Lock(call func())
}

func NewLock

func NewLock() Lock

type Switch

type Switch interface {
	On() bool
	Off() bool
	IsOn() bool
	IsOff() bool
}

func NewSwitch

func NewSwitch() Switch

Jump to

Keyboard shortcuts

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