async

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Future

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

func AsyncCall

func AsyncCall(fn func(...interface{}) (interface{}, error), args ...interface{}) *Future

func (*Future) BlockForReady

func (f *Future) BlockForReady()

func (*Future) Get

func (f *Future) Get() (interface{}, error)

func (*Future) IsReady

func (f *Future) IsReady() bool

func (*Future) MustGet

func (f *Future) MustGet() interface{}

Jump to

Keyboard shortcuts

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