Interface RunnableOutcome<ReturnT>

Result object returned when runnable task invocation completes, whether it fails or succeeds.

interface RunnableOutcome<ReturnT> {
    execution: {
        complete: boolean;
        errors: Error[];
        exception: boolean;
    };
    returnValue: null | ReturnT;
}

Type Parameters

  • ReturnT

Properties

execution: {
    complete: boolean;
    errors: Error[];
    exception: boolean;
}

Type declaration

  • complete: boolean
  • errors: Error[]
  • exception: boolean
returnValue: null | ReturnT