Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ export interface ResumableStreamContext {
* Resumes a stream that was previously created by `createNewResumableStream`.
*
* @param streamId - The ID of the stream. Must be unique for each stream.
* @param makeStream - A function that returns a stream of strings. It's only executed if the stream it not yet in progress.
* @param skipCharacters - Number of characters to skip
* @returns A readable stream of strings. Returns null if there was a stream with the given streamId but it is already fully done (Defaults to 24 hour expiration). undefined if there is no stream with the given streamId.
* @returns A readable stream of strings. Returns null if there was a stream with the given streamId but it is already fully done (Defaults to 24 hour expiration). Returns undefined if there is no stream with the given streamId.
*/
resumeExistingStream: (
streamId: string,
Expand Down