File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,11 @@ export const CURSOR_FLAGS = [
5151 'partial'
5252] as const ;
5353
54- /** @public */
55- // TODO: Remove this as the option is never used. (NODE-3489)
54+ /** @public
55+ * @deprecated This interface is deprecated */
5656export interface CursorCloseOptions {
5757 /** Bypass calling killCursors when closing the cursor. */
58+ /** @deprecated the skipKillCursors option is deprecated */
5859 skipKillCursors ?: boolean ;
5960}
6061
@@ -373,9 +374,15 @@ export abstract class AbstractCursor<
373374 } ) ;
374375 }
375376
376- close ( ) : Promise < void > ;
377+ close ( ) : void ;
377378 close ( callback : Callback ) : void ;
379+ /**
380+ * @deprecated options argument is deprecated
381+ */
378382 close ( options : CursorCloseOptions ) : Promise < void > ;
383+ /**
384+ * @deprecated options argument is deprecated
385+ */
379386 close ( options : CursorCloseOptions , callback : Callback ) : void ;
380387 close ( options ?: CursorCloseOptions | Callback , callback ?: Callback ) : Promise < void > | void {
381388 if ( typeof options === 'function' ) ( callback = options ) , ( options = { } ) ;
You can’t perform that action at this time.
0 commit comments