goevent

package module
v0.0.0-...-060d2fb Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 2 Imported by: 5

README

goevent

Event (future/promise) implementation in Go

Authors

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

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

func NewEvent

func NewEvent() *Event

func (*Event) IsSet

func (e *Event) IsSet() bool

func (*Event) Set

func (e *Event) Set()

func (*Event) Wait

func (e *Event) Wait()

func (*Event) WaitCtx

func (e *Event) WaitCtx(ctx context.Context) bool

func (*Event) WaitMax

func (e *Event) WaitMax(timeout time.Duration) bool

Jump to

Keyboard shortcuts

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