@iotize/ionic
Version:
Iotize specific building blocks on top of @ionic/angular.
19 lines (18 loc) • 703 B
TypeScript
import { Subject } from 'rxjs';
import { CurrentDeviceService } from './current-device.service';
export declare class PendingCallManager {
tapService: CurrentDeviceService;
private _pendingCall?;
private sessionStateSubscription?;
private connectionStateSub;
loading: boolean;
pendingCallResult: Subject<Error | undefined>;
static create(tapService: CurrentDeviceService): PendingCallManager;
get pendingCall(): (() => Promise<any>) | undefined;
constructor(tapService: CurrentDeviceService);
hasPendingCall(): boolean;
destroy(): void;
exec(call: () => Promise<void>): Promise<void>;
cancel(): void;
private _runPendingCalls;
}