[quickjs-emscripten](../README.md) / [Exports](../modules.md) / AsyncRuntimeOptions

# Interface: AsyncRuntimeOptions

## Hierarchy

- [`RuntimeOptionsBase`](RuntimeOptionsBase.md)

  ↳ **`AsyncRuntimeOptions`**

## Table of contents

### Properties

- [gcThreshold](AsyncRuntimeOptions.md#gcthreshold)
- [interruptHandler](AsyncRuntimeOptions.md#interrupthandler)
- [maxStackSizeBytes](AsyncRuntimeOptions.md#maxstacksizebytes)
- [memoryLimitBytes](AsyncRuntimeOptions.md#memorylimitbytes)
- [moduleLoader](AsyncRuntimeOptions.md#moduleloader)
- [promiseRejectionHandler](AsyncRuntimeOptions.md#promiserejectionhandler)
- [runtimeInfo](AsyncRuntimeOptions.md#runtimeinfo)
- [sharedArrayBufferFunctions](AsyncRuntimeOptions.md#sharedarraybufferfunctions)

## Properties

### gcThreshold

• `Optional` **gcThreshold**: `undefined`

#### Inherited from

[RuntimeOptionsBase](RuntimeOptionsBase.md).[gcThreshold](RuntimeOptionsBase.md#gcthreshold)

#### Defined in

[ts/types.ts:116](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L116)

___

### interruptHandler

• `Optional` **interruptHandler**: [`InterruptHandler`](../modules.md#interrupthandler)

#### Inherited from

[RuntimeOptionsBase](RuntimeOptionsBase.md).[interruptHandler](RuntimeOptionsBase.md#interrupthandler)

#### Defined in

[ts/types.ts:110](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L110)

___

### maxStackSizeBytes

• `Optional` **maxStackSizeBytes**: `number`

#### Inherited from

[RuntimeOptionsBase](RuntimeOptionsBase.md).[maxStackSizeBytes](RuntimeOptionsBase.md#maxstacksizebytes)

#### Defined in

[ts/types.ts:111](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L111)

___

### memoryLimitBytes

• `Optional` **memoryLimitBytes**: `number`

#### Inherited from

[RuntimeOptionsBase](RuntimeOptionsBase.md).[memoryLimitBytes](RuntimeOptionsBase.md#memorylimitbytes)

#### Defined in

[ts/types.ts:112](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L112)

___

### moduleLoader

• `Optional` **moduleLoader**: [`JSModuleLoader`](JSModuleLoader.md) \| [`JSModuleLoaderAsync`](JSModuleLoaderAsync.md)

#### Defined in

[ts/types.ts:134](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L134)

___

### promiseRejectionHandler

• `Optional` **promiseRejectionHandler**: `undefined`

#### Inherited from

[RuntimeOptionsBase](RuntimeOptionsBase.md).[promiseRejectionHandler](RuntimeOptionsBase.md#promiserejectionhandler)

#### Defined in

[ts/types.ts:114](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L114)

___

### runtimeInfo

• `Optional` **runtimeInfo**: `undefined`

#### Inherited from

[RuntimeOptionsBase](RuntimeOptionsBase.md).[runtimeInfo](RuntimeOptionsBase.md#runtimeinfo)

#### Defined in

[ts/types.ts:115](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L115)

___

### sharedArrayBufferFunctions

• `Optional` **sharedArrayBufferFunctions**: `undefined`

#### Inherited from

[RuntimeOptionsBase](RuntimeOptionsBase.md).[sharedArrayBufferFunctions](RuntimeOptionsBase.md#sharedarraybufferfunctions)

#### Defined in

[ts/types.ts:117](https://github.com/justjake/quickjs-emscripten/blob/main/ts/types.ts#L117)
