"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module RpcInterface
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.RpcRoutingToken = void 0;
/** @beta */
class RpcRoutingToken {
    static _next = -1;
    static generate(debugLabel = "") {
        return new RpcRoutingToken(++this._next, debugLabel);
    }
    static default = RpcRoutingToken.generate("default");
    id;
    debugLabel;
    constructor(id, debugLabel) {
        this.id = id;
        this.debugLabel = debugLabel;
    }
}
exports.RpcRoutingToken = RpcRoutingToken;
//# sourceMappingURL=RpcRoutingToken.js.map