Skip to content

CombineDisposableConstructorParams

The parameters for constructing a CombineDisposable.

Import:

import type { CombineDisposableConstructorParams } from 'obsidian-dev-utils/disposable';

Signature:

export interface CombineDisposableConstructorParams

Properties

PropertyTypeDescription
disposablesIterable<Disposable>The disposables to dispose when the combiner is disposed.
disposeOrder?DisposeOrderThe order in which the children are disposed.
errorBehavior?DisposeErrorBehaviorHow the combiner behaves when one of its children throws while being disposed.
multipleDisposeBehavior?MultipleDisposeBehaviorHow the combiner behaves when it is disposed more than once.