package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Aug 16, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 6
Opens a new window with list of known importers.
README
¶
Go WebAssembly utility package for interacting with JavaScript promises
Documentation
¶
Await waits for the Promise to be resolved and returns the value
or an error if the promise rejected
func New() (p js.Value, resolve func(interface{}), reject func(interface{}))
New creates a new JavaScript Promise
Source Files
¶
Click to show internal directories.
Click to hide internal directories.