AbortPart
Namespace: Vercel.AI
public sealed class AbortPart : TextStreamPartThe call was aborted. It is the last part of the stream.
Inheritance: object → TextStreamPart
Constructors
Section titled “Constructors”AbortPart(string?)
Section titled “AbortPart(string?)”public AbortPart(string? reason)Creates an abort part.
Parameters
| Name | Type | Description |
|---|---|---|
reason |
string |
Properties
Section titled “Properties”Reason
Section titled “Reason”public string? Reason { get; }Abort reason.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product