async

package module
v0.0.0-...-62b3514 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

View Source
var (
	Promise = js.Global().Get("Promise")
	Error   = js.Global().Get("Error")
)

Functions

func Await

func Await(p js.Value) (*js.Value, error)

func NewPromise

func NewPromise(fn func() (any, error)) js.Value

Types

This section is empty.

Jump to

Keyboard shortcuts

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