본문으로 건너뛰기

함수: defineInterrupt()

호출 시그니처​

function defineInterrupt<TId, TPayloadSchema, TResponseSchema>(options): DefinedInterruptDefinition<TId, TPayloadSchema, TResponseSchema, InferSchemaOutput<TPayloadSchema>, InferSchemaInput<TPayloadSchema>>;

정의 위치: packages/ai/src/interrupt-definition.ts:418

타입 매개변수​

TId​

TId extends string

TPayloadSchema​

TPayloadSchema extends PortableSchema

TResponseSchema​

TResponseSchema extends PortableSchema

매개변수​

options​

id​

TId

payloadSchema​

TPayloadSchema

responseSchema​

TResponseSchema

반환값​

DefinedInterruptDefinition&lt;TId, TPayloadSchema, TResponseSchema, InferSchemaOutput&lt;TPayloadSchema>, InferSchemaInput&lt;TPayloadSchema>>

호출 시그니처​

function defineInterrupt<TId, TPayloadSchema>(options): DefinedInterruptDefinition<TId, TPayloadSchema, undefined, InferSchemaOutput<TPayloadSchema>, InferSchemaInput<TPayloadSchema>>;

정의 위치: packages/ai/src/interrupt-definition.ts:433

타입 매개변수​

TId​

TId extends string

TPayloadSchema​

TPayloadSchema extends PortableSchema

매개변수​

options​

id​

TId

payloadSchema​

TPayloadSchema

responseSchema?​

undefined

반환값​

DefinedInterruptDefinition&lt;TId, TPayloadSchema, undefined, InferSchemaOutput&lt;TPayloadSchema>, InferSchemaInput&lt;TPayloadSchema>>

호출 시그니처​

function defineInterrupt<TId, TResponseSchema>(options): DefinedInterruptDefinition<TId, undefined, TResponseSchema, undefined, undefined>;

정의 위치: packages/ai/src/interrupt-definition.ts:447

타입 매개변수​

TId​

TId extends string

TResponseSchema​

TResponseSchema extends PortableSchema

매개변수​

options​

id​

TId

payloadSchema?​

undefined

responseSchema​

TResponseSchema

반환값​

DefinedInterruptDefinition&lt;TId, undefined, TResponseSchema, undefined, undefined>