/*---------------------------------------------------------------------------------------------
* 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
 */
/** @beta */
export class RpcRoutingToken {
    static generate(debugLabel = "") {
        return new RpcRoutingToken(++this._next, debugLabel);
    }
    constructor(id, debugLabel) {
        this.id = id;
        this.debugLabel = debugLabel;
    }
}
RpcRoutingToken._next = -1;
RpcRoutingToken.default = RpcRoutingToken.generate("default");
//# sourceMappingURL=RpcRoutingToken.js.map