Wasm Directoryalpha
Function

exit-with-code

Exit the current instance and any linked instances, reporting the specified status code to the host.

exit-with-code: func(status-code: u8);