Documentation ¶
Rendered for js/wasm
Overview ¶
Package jasm for async calls from JS Credits: https://github.com/brunoluiz/imagewand/blob/main/jasm/wasm.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Await ¶
Await creates a promise which allows any async code within the WASM program. Without that, IO/network operations will be a blocking request and will make the program go kaput.
func HTTPResponse ¶
HTTPResponse returns a valid HTTP Response
func Uint8ArrayToBytes ¶
Uint8ArrayToBytes converts an incoming JS Uint8Array into Golang bytes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.