Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

genericInterruptContinuationFromDescriptor.md

27 lines604 Bytes

function genericInterruptContinuationFromDescriptor(interrupt): 
  | GenericInterruptContinuation
  | undefined;

Defined in: packages/ai/src/generic-interrupt-continuation.ts:123

Build the resume-metadata continuation from an outbound AG-UI interrupt.

Returns undefined when the descriptor is not a first-party generic item.

Parameters

interrupt

Interrupt

Returns

| GenericInterruptContinuation | undefined