# TakeOptions

interface in `@dioramajs/diorama/effects`

```ts
import type { TakeOptions } from '@dioramajs/diorama/effects'
```

Options of `app.effects.take`.

```ts
interface TakeOptions
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `leave?` | `'ghost' \| 'release'` | Default 'ghost'. |
| `signal?` | `AbortSignal` | The owner vouches for the copy until this aborts, and aborting releases it. Without a signal, a ghost or veil with no writes for 10 s is released with a dev warning. |
| `veil?` | `boolean` | Start veiled, for a flight target or an entering element. Default false. |

Also exported from `@dioramajs/effects`.

Defined in [packages/effects/src/types.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/effects/src/types.ts#L917).
