Skip to content

DisposeOrder

Determines the order in which a CombineDisposable or CombineAsyncDisposable disposes its children.

Import:

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

Signature:

export enum DisposeOrder

Members:

MemberValueDescription
LifoDispose the last-registered child first (last-in, first-out), like nested using declarations unwinding in reverse.
FifoDispose the first-registered child first (first-in, first-out).

Links to this page: