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 DisposeOrderMembers:
| Member | Value | Description |
|---|---|---|
Lifo | Dispose the last-registered child first (last-in, first-out), like nested using declarations unwinding in reverse. | |
Fifo | Dispose the first-registered child first (first-in, first-out). |
Links to this page: