Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
24 lines (15 loc) · 519 Bytes

File metadata and controls

24 lines (15 loc) · 519 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

Asynchronous Host Functions

You can also browse this source code online and clone the wasmtime repository to run the example locally.

This example demonstrates configuring Wasmtime for asynchronous operation and calling async host functions from wasm.

Wasm Source

{{#include ../examples/async.wat}}

Host Source

{{#include ../examples/async.cc}}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.