async

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllFinished

func AllFinished(free bindings.Ref, pRefs unsafe.Pointer, n uint32) bindings.Ref

func AllFulfilled

func AllFulfilled(free bindings.Ref, pRefs unsafe.Pointer, n uint32) bindings.Ref

func Bg

func Bg(promise bindings.Ref) bindings.Ref

func FirstFinished

func FirstFinished(free bindings.Ref, pRefs unsafe.Pointer, n uint32) bindings.Ref

func Promise

func Promise(fn bindings.Ref) bindings.Ref

func Rejected

func Rejected(reason bindings.Ref) bindings.Ref

func Resolved

func Resolved(data bindings.Ref) bindings.Ref

func ShouldWait

func ShouldWait(
	take bindings.Ref,
	promise bindings.Ref,
	pFulfilled unsafe.Pointer,
	pRefData unsafe.Pointer,
) (shouldWait bindings.Ref)

func TakeWaited

func TakeWaited(ref bindings.Ref, pRefData unsafe.Pointer) (fulfilled bindings.Ref)

func Then

func Then(onfulfilled, onrejected, finally bindings.Ref)

Types

This section is empty.

Jump to

Keyboard shortcuts

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