function mapSlackLegacyDraftStreamModeToStreaming(mode: SlackLegacyDraftStreamMode): StreamingMode { if (mode === "append") { return"block";
} if (mode === "status_final") { return"progress";
} return"partial";
}
export function mapStreamingModeToSlackLegacyDraftStreamMode(mode: StreamingMode) { if (mode === "block") { return"append" as const;
} if (mode === "progress") { return"status_final" as const;
} return"replace" as const;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.