# PivotWorkerResponse (@salmonui/pivot-table/engine)

> The PivotWorkerResponse type of @salmonui/pivot-table/engine.

Canonical: https://salmonui.dev/docs/reference/pivot-table/engine/PivotWorkerResponse

```ts
import type { PivotWorkerResponse } from '@salmonui/pivot-table/engine';
```

Entry index: https://salmonui.dev/docs/reference/pivot-table/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pivot-table/engine.md).

## Reference

Kind: type

```ts
type PivotWorkerResponse = {
    readonly id: number;
    readonly ok: true;
    readonly value: unknown;
} | {
    readonly id: number;
    readonly ok: false;
    readonly error: {
        readonly name: string;
        readonly message: string;
        readonly position?: number;
    };
};
```
