Skip to content

CombineAsyncDisposableConstructorParams

The parameters for constructing a CombineAsyncDisposable.

Import:

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

Signature:

export interface CombineAsyncDisposableConstructorParams

Properties

PropertyTypeDescription
asyncDisposablesIterable<AsyncDisposable>The async 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.