CombineDisposableConstructorParams
The parameters for constructing a CombineDisposable.
Import:
import type { CombineDisposableConstructorParams } from 'obsidian-dev-utils/disposable';Signature:
export interface CombineDisposableConstructorParamsProperties
| Property | Type | Description |
|---|---|---|
| disposables | Iterable<Disposable> | The disposables to dispose when the combiner is disposed. |
| disposeOrder? | DisposeOrder | The order in which the children are disposed. |
| errorBehavior? | DisposeErrorBehavior | How the combiner behaves when one of its children throws while being disposed. |
| multipleDisposeBehavior? | MultipleDisposeBehavior | How the combiner behaves when it is disposed more than once. |