TakeOptions interface
Options of `app.effects.take`.
import type { TakeOptions } from '@dioramajs/diorama/effects'interface TakeOptionsMembers
| Name | Type | Description |
|---|---|---|
readonly leave? | 'ghost' | 'release' | Default 'ghost'. |
readonly 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. |
readonly 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.