Skip to content

DisposeOrder

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

Import:

import type { DisposeOrder } from '@mnaoumov/typescript-lib/disposable';

Signature:

export enum DisposeOrder

Members:

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: