UNPKG

@itwin/core-frontend

Version:
16 lines 551 B
import { RpcRoutingToken } from "@itwin/core-common"; /** * Controls the RPC routing for an iModel connection. * @public */ export declare class IModelRoutingContext { private static _current; static for(token: RpcRoutingToken): IModelRoutingContext; static readonly default: IModelRoutingContext; static get current(): IModelRoutingContext | undefined; readonly token: RpcRoutingToken; get active(): boolean; private constructor(); route<T>(handler: () => T): T; } //# sourceMappingURL=IModelRoutingContext.d.ts.map