usync

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 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 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 Job added in v0.2.2

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

func NewJob added in v0.2.2

func NewJob() *Job

func (*Job) Cancel added in v0.2.2

func (o *Job) Cancel()

func (*Job) Do added in v0.2.2

func (o *Job) Do() bool

func (*Job) Notify added in v0.2.2

func (o *Job) Notify()

func (*Job) Sleep added in v0.2.2

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

func (*Job) Stop added in v0.2.2

func (o *Job) Stop()

Jump to

Keyboard shortcuts

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