usync

package
v0.1.58 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 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 Chan

type Chan chan bool

func NewChan

func NewChan() Chan

func (*Chan) Cancel

func (this *Chan) Cancel()

func (*Chan) Notify

func (this *Chan) Notify()

func (*Chan) Wait

func (this *Chan) Wait() bool

func (*Chan) WaitTimeout

func (this *Chan) WaitTimeout(timeout time.Duration) bool

type Do

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

func NewDo

func NewDo() *Do

func (*Do) Cancel

func (this *Do) Cancel()

func (*Do) Do

func (this *Do) Do() bool

func (*Do) Notify

func (this *Do) Notify()

func (*Do) Sleep

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

func (*Do) Stop

func (this *Do) Stop()

Jump to

Keyboard shortcuts

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