@itwin/core-backend
Version:
iTwin.js backend components
15 lines • 620 B
TypeScript
/**
* Sets the online status of the backend that will be returned by `getOnlineStatus`.
* @param online The new online status.
* @internal
*/
export declare function setOnlineStatus(online: boolean): void;
/**
* Determine whether the backend is currently considered online.
* @note This only works if `setOnlineStatus` has been called by something to update the status.
* `NativeHost` does this whenever the connectivity changes. If `setOnlineStatus` has never been
* called, this will return `true`.
* @internal
*/
export declare function getOnlineStatus(): boolean;
//# sourceMappingURL=OnlineStatus.d.ts.map