Interface CloseableOutcome

The outcome of a close operation on a Closeable class.

interface CloseableOutcome {
    aborted?: boolean;
    closed: boolean;
    errors?: Error[];
}

Properties

aborted?: boolean

Was the close operation aborted either internally or externally?

closed: boolean

Did the close operation succeed?

errors?: Error[]

Errors encountered during the operation, if any.