UNPKG

@itwin/core-frontend

Version:
33 lines 1.39 kB
/** @packageDocumentation * @module IModelConnection */ import { GuidString } from "@itwin/core-bentley"; import { IModelConnectionProps, IModelVersion } from "@itwin/core-common"; import { IModelConnection } from "./IModelConnection"; /** * An IModelConnection to a Checkpoint of an iModel. * @see [CheckpointConnection]($docs/learning/frontend/IModelConnection) * @public */ export declare class CheckpointConnection extends IModelConnection { private readonly _fromIpc; /** The Guid that identifies the iTwin that owns this iModel. */ get iTwinId(): GuidString; /** The Guid that identifies this iModel. */ get iModelId(): GuidString; /** Returns `true` if [[close]] has already been called. */ get isClosed(): boolean; protected _isClosed?: boolean; protected constructor(props: IModelConnectionProps, fromIpc: boolean); /** Type guard for instanceof [[CheckpointConnection]] */ isCheckpointConnection(): this is CheckpointConnection; /** * Open a readonly IModelConnection to a Checkpoint of an iModel. */ static openRemote(iTwinId: GuidString, iModelId: GuidString, version?: IModelVersion): Promise<CheckpointConnection>; private static callOpen; private _reopenConnectionHandler; /** Close this CheckpointConnection */ close(): Promise<void>; } //# sourceMappingURL=CheckpointConnection.d.ts.map