TS-Scribe - v1.2.0
    Preparing search index...

    Type Alias AsyncMapSettledResult<R, E>

    Return type of asyncMapSettled.

    type AsyncMapSettledResult<R, E = undefined> = {
        errors: AsyncErrorInfo[];
        results: (R | E)[];
    }

    Type Parameters

    • R

      The success type of the mapped results.

    • E = undefined

      The type of the error value (defaults to undefined).

    Index

    Properties

    Properties

    errors: AsyncErrorInfo[]

    Errors collected during processing, in the order they were discovered.

    results: (R | E)[]

    Mapped results. Failed positions contain errorValue (default undefined).