This gist is part of my article “Emscripten’s embind”.
Build it with
$ emcc -s EXTRA_EXPORTED_RUNTIME_METHODS='["cwrap"]' -O3 nobind.cpp
or
$ docker run --rm -v $(pwd):/src trzeci/emscripten emcc -s EXTRA_EXPORTED_RUNTIME_METHODS='["cwrap"]' -O3 nobind.cpp
License Apache-2.0
@surma Why
async
?