---
url: https://docs.moqtail.dev/ts/api/player/worker/interfaces/EngineInit.md
---
# Interface: EngineInit\<O>

What an engine's constructor gets, in the worker or from its element on the main thread.

## Type Parameters

### O

`O` = `unknown`

## Properties

### options

> `readonly` **options**: `O`

***

### outputs

> `readonly` **outputs**: readonly ((`item`) => `Promise`<`void`>)\[]

Write to the `outputs` given to `WorkerContext.create`, in order. Each resolves once there's room.

***

### report

> `readonly` **report**: (`report`) => `void`

Tells the element something, fire and forget.

#### Parameters

##### report

`any`

#### Returns

`void`
