@drupflare/workforce - v0.3.0
    Preparing search index...

    Interface MapOutcome<T, R>

    interface MapOutcome<T, R> {
        attempted: boolean;
        error?: unknown;
        item: T;
        result?: R;
    }

    Type Parameters

    • T
    • R
    Index
    attempted: boolean

    whether this item ran at all; a void-returning fn makes result useless for deciding that

    error?: unknown
    item: T
    result?: R