usync

package
v0.7.23 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Await added in v0.1.67

type Await chan bool

func NewAwait added in v0.1.68

func NewAwait() Await

func (*Await) Cancel added in v0.1.67

func (o *Await) Cancel()

func (*Await) Notify added in v0.1.67

func (o *Await) Notify()

func (*Await) Wait added in v0.1.67

func (o *Await) Wait() bool

func (*Await) WaitTimeout added in v0.1.67

func (o *Await) WaitTimeout(timeout time.Duration) bool

type Do

type Do struct {
	// contains filtered or unexported fields
}

func NewDo

func NewDo() *Do

func (*Do) Cancel

func (o *Do) Cancel()

func (*Do) Do

func (o *Do) Do() bool

func (*Do) Notify

func (o *Do) Notify()

func (*Do) Sleep

func (o *Do) Sleep(timeout time.Duration)

func (*Do) Stop

func (o *Do) Stop()

Jump to

Keyboard shortcuts

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