mirror of
https://github.com/valentineus/webos-service-types.git
synced 2025-06-05 05:13:34 +03:00
Class "ActivityManager" base structure
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
c372611b7e
commit
b7cb9f49b2
42
dist/activity-manager.d.ts
vendored
Normal file
42
dist/activity-manager.d.ts
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
import { Service } from "./service";
|
||||
import { Subscription } from "./subscription";
|
||||
|
||||
export declare class ActivityManager {
|
||||
public constructor(service: Service, idleTimeout: number);
|
||||
|
||||
public readonly idleTimeout: number;
|
||||
|
||||
public readonly service: Service;
|
||||
|
||||
public exitOnTimeout: boolean;
|
||||
|
||||
public useDummyActivity: boolean;
|
||||
|
||||
private readonly _activities: { [id: string]: Subscription };
|
||||
|
||||
private _counter: number;
|
||||
|
||||
private _dummyActivityId: number;
|
||||
|
||||
private _idleTimer: NodeJS.Timeout | null;
|
||||
|
||||
public adopt(): any
|
||||
|
||||
public complete(): any;
|
||||
|
||||
public create(): any;
|
||||
|
||||
private _add(id: string, activity: Subscription): void;
|
||||
|
||||
private _createActual(): any;
|
||||
|
||||
private _createDummy(): any;
|
||||
|
||||
private _createInternal(): any;
|
||||
|
||||
private _remove(id: string): void;
|
||||
|
||||
private _startTimer(): void;
|
||||
|
||||
private _stopTimer(): void;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user