ravendb
Version:
RavenDB client for Node.js
19 lines • 962 B
TypeScript
import { RavenCommand, IRavenResponse } from "../../Http/RavenCommand.js";
import { DocumentConventions } from "../Conventions/DocumentConventions.js";
import { RequestExecutor } from "../../Http/RequestExecutor.js";
export declare class OperationCompletionAwaiter {
private _requestExecutor;
private readonly _conventions;
private readonly _id;
private _nodeTag;
get id(): number;
constructor(requestExecutor: RequestExecutor, conventions: DocumentConventions, id: number, nodeTag?: string);
private _fetchOperationStatus;
protected _getOperationStateCommand(conventions: DocumentConventions, id: number, nodeTag?: string): RavenCommand<IRavenResponse>;
get nodeTag(): string;
set nodeTag(nodeTag: string);
waitForCompletion(): Promise<void>;
protected _getKillOperationCommand(id: number, nodeTag: string): RavenCommand<void>;
kill(): Promise<void>;
}
//# sourceMappingURL=OperationCompletionAwaiter.d.ts.map