completeDelivery
Unpublished development API. This package is under development and is not available as a published release.
Creates a frozen terminal delivery marker with the supplied generation and outcome.
import { completeDelivery } from '@threadplane/core';Declaration · overload 1
export declare function completeDelivery<const TOutcome extends CompleteOutcome>(generation: string, outcome: TOutcome): Readonly<{
readonly generation: string;
readonly phase: "complete";
readonly outcome: CompleteOutcome;
}>;Type parameters
TOutcomeCompleteOutcome
Parameters
generation· requiredstringoutcome· requiredTOutcome
Returns
Readonly<{
readonly generation: string;
readonly phase: "complete";
readonly outcome: CompleteOutcome;
}>