@itwin/core-common
Version:
iTwin.js components common to frontend and backend
29 lines • 973 B
JavaScript
;
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module IpcSocket
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.IpcSession = exports.rpcOverIpcStrings = void 0;
/** @internal */
exports.rpcOverIpcStrings = {
channelName: "itwinjs-core/rpc-over-ipc",
};
/** @internal */
class IpcSession {
static _active;
static get active() { return this._active; }
static start(session) {
if (this._active)
return;
this._active = session;
}
static stop() {
this._active = undefined;
}
}
exports.IpcSession = IpcSession;
//# sourceMappingURL=IpcSession.js.map