# AbortSignalLike (@salmonui/data)

> The AbortSignalLike interface of @salmonui/data.

Canonical: https://salmonui.dev/docs/reference/data/AbortSignalLike

```ts
import type { AbortSignalLike } from '@salmonui/data';
```

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

## Reference

Kind: interface

```ts
interface AbortSignalLike {
    readonly aborted: boolean;
    readonly reason?: unknown;
    addEventListener(type: 'abort', listener: () => void): void;
    removeEventListener(type: 'abort', listener: () => void): void;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `aborted` | `readonly aborted: boolean;` |  |  |
| `reason` | `readonly reason?: unknown;` | optional |  |
| `addEventListener` | `addEventListener(type: 'abort', listener: () => void): void;` |  |  |
| `removeEventListener` | `removeEventListener(type: 'abort', listener: () => void): void;` |  |  |
