<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [Emscripten](./rc-js-util.emscripten.md) &gt; [EmscriptenModule](./rc-js-util.emscripten.emscriptenmodule.md) &gt; [quit](./rc-js-util.emscripten.emscriptenmodule.quit.md)

## Emscripten.EmscriptenModule.quit() method

**Signature:**

```typescript
quit(status: number, error: unknown): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

status


</td><td>

number


</td><td>


</td></tr>
<tr><td>

error


</td><td>

unknown


</td><td>


</td></tr>
</tbody></table>
**Returns:**

void

