/*---------------------------------------------------------------------------------------------
* 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
 */
/** @internal */
export const rpcOverIpcStrings = {
    channelName: "itwinjs-core/rpc-over-ipc",
};
/** @internal */
export 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;
    }
}
//# sourceMappingURL=IpcSession.js.map