UNPKG

@itwin/core-common

Version:

iTwin.js components common to frontend and backend

22 lines 797 B
/*--------------------------------------------------------------------------------------------- * 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 _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; } } //# sourceMappingURL=RpcRoutingToken.js.map