Skip to content

Commit

Permalink
Merge pull request #14866 from aletorrado/eachAsync-typing-abortSignal
Browse files Browse the repository at this point in the history
Added the signal option to eachAsync typings
  • Loading branch information
vkarpov15 authored Sep 9, 2024
2 parents 06a06ca + 2fbb3b5 commit 8cfeb59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/cursor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ declare module 'mongoose' {
parallel?: number;
batchSize?: number;
continueOnError?: boolean;
signal?: AbortSignal;
}

class Cursor<DocType = any, Options = never> extends stream.Readable {
Expand Down

0 comments on commit 8cfeb59

Please sign in to comment.