nodejs

package
v0.0.0-...-4ee4993 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromPromise

func FromPromise(prom js.Value) (successChannel <-chan []js.Value, errorChannel <-chan []js.Value)

Interface with a promise and return two channels, the first receiving a success value, the second receiving an error value

func Require

func Require(path string) 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