> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Module: runtime/adapters/processors

> Reference for the bijection/runtime/adapters/processors entry point.

## Type Aliases

### ExecutionResources

Ƭ **ExecutionResources**: `Object`

Native maxima, including loaded modules and runtime heap. This is not RSS.

#### Type declaration

| Name | Type |
| :- | :- |
| `scope` | `"invocation"` |
| `userTimeMs` | `number` |
| `heapBytes` | `number` |
| `arrayBufferBytes` | `number` |
| `fileReadBytes` | `number` |
| `fileReadChunkBytes` | `number` |
| `fileReadCalls` | `number` |
| `fileReadTimeMs` | `number` |
| `fileWriteBytes` | `number` |
| `fileWriteChunkBytes` | `number` |
| `fileWriteCalls` | `number` |
| `fileWriteFiles` | `number` |
| `fileWriteTimeMs` | `number` |

***

### FileOutput

Ƭ **FileOutput**: `Object`

A native output commitment. This carries identity, never publication authority.

#### Type declaration

| Name | Type |
| :- | :- |
| `slot` | `string` |
| `file` | [`FileRef`](https://docs.bijection.com/api/modules/values#fileref) |
| `sha256` | `string` |
| `size` | `number` |

## Variables

### processors

• `Const` **processors**: `Object`

#### Type declaration

| Name | Type |
| :- | :- |
| `context` | () => `Promise`\<\{ `code`: `string` ; `name`: `string` ; `resources`: [`ExecutionResources`](https://docs.bijection.com/api/modules/runtime_adapters_processors#executionresources)  }> |
| `readFile` | (`file`: [`FileRef`](https://docs.bijection.com/api/modules/values#fileref), `range`: \{ `offset`: `number` ; `length`: `number`  }) => `Promise`\<\{ `bytes`: `ArrayBuffer` ; `next`: `number` ; `is_done`: `boolean`  }> |
| `writeFile` | (`slot`: `string`, `source`: `AsyncIterable`\<`Uint8Array`>, `options`: \{ `content_type?`: `string`  }) => `Promise`\<[`FileRef`](https://docs.bijection.com/api/modules/values#fileref)> |
| `basis` | (`handle`: `string`, `options?`: \{ `profile`: `"transform"`  }) => `Promise`\<\{ `code`: `string` ; `name`: `string`  }> |
| `seal` | (`payload`: `string`) => `Promise`\<`string`> |
| `sealCaptured` | (`payload`: `string`) => `Promise`\<`string`> |
| `open` | (`token`: `string`, `payload`: `string`, `input?`: \{ `args`: `Record`\<`string`, [`Value`](https://docs.bijection.com/api/modules/values#value)> ; `bytes?`: `Record`\<`string`, \{ `sha256`: `string` ; `size`: `number`  }> ; `scheduled?`: `string`  }) => `Promise`\<\{ `code`: `string` ; `name`: `string` ; `scheduled`: `string` ; `scheduled_component`: `string` \| `null` ; `execution`: `string` ; `digest`: `string` ; `input_digest?`: `string` ; `verifiedFileOutputs`: [`FileOutput`](https://docs.bijection.com/api/modules/runtime_adapters_processors#fileoutput)\[] ; `verifiedCapturesDigest?`: `string` ; `verifiedCapturesComplete?`: `boolean` ; `resources`: [`ExecutionResources`](https://docs.bijection.com/api/modules/runtime_adapters_processors#executionresources)  }> |
| `retain` | (`handle`: `string`, `options`: \{ `record`: `string` ; `expiresAtMs?`: `number`  }) => `Promise`\<`string`> |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.