promise

package module
v1.0.0 Latest Latest
Warning

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

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

README

promise

Go Reference

a promise

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeepAlive

func KeepAlive()

Keep thread alive

func PromiseOf

func PromiseOf(fn func(this js.Value, args []js.Value) any) js.Func

PromiseOf returns an async function to be used by JavaScript.

Types

This section is empty.

Jump to

Keyboard shortcuts

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