Skip to content

Commit

Permalink
sdk-js: Add custom and messages-tuple stream modes (#2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnguonly authored Nov 8, 2024
1 parent 8408ba3 commit 7cba75e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion libs/sdk-js/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import { Checkpoint, Config, Metadata } from "./schema.js";

export type StreamMode = "values" | "messages" | "updates" | "events" | "debug";
export type StreamMode =
| "values"
| "messages"
| "updates"
| "events"
| "debug"
| "custom"
| "messages-tuple";
export type MultitaskStrategy = "reject" | "interrupt" | "rollback" | "enqueue";
export type OnConflictBehavior = "raise" | "do_nothing";
export type OnCompletionBehavior = "complete" | "continue";
Expand Down

0 comments on commit 7cba75e

Please sign in to comment.