1# Asynchronous Host Functions 2 3You can also [browse this source code online][code] and clone the wasmtime 4repository to run the example locally. 5 6[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/async.cc 7 8This example demonstrates configuring Wasmtime for asynchronous operation and calling async host functions from wasm. 9 10## Wasm Source 11 12```wat 13{{#include ../examples/async.wat}} 14``` 15 16## Host Source 17 18<!-- langtabs-start --> 19 20```cpp 21{{#include ../examples/async.cc}} 22``` 23 24<!-- langtabs-end --> 25