@stemy/backend 6.0.2 → 6.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -13,11 +13,10 @@ export declare class JobManager {
|
|
|
13
13
|
[name: string]: (jobParams: JobParams, uniqueId: string) => Promise<any>;
|
|
14
14
|
};
|
|
15
15
|
protected messages: Subject<ISocketMessage>;
|
|
16
|
-
protected
|
|
17
|
-
protected
|
|
18
|
-
protected
|
|
19
|
-
protected
|
|
20
|
-
protected workerPull: Socket;
|
|
16
|
+
protected apiPush: Promise<Socket>;
|
|
17
|
+
protected apiPull: Promise<Socket>;
|
|
18
|
+
protected workerPush: Promise<Socket>;
|
|
19
|
+
protected workerPull: Promise<Socket>;
|
|
21
20
|
readonly maxTimeout: number;
|
|
22
21
|
constructor(config: Configuration, logger: Logger, container: DependencyContainer, jobTypes: Type<IJob>[]);
|
|
23
22
|
on(message: string, cb: (params: SocketParams) => any): Subscription;
|
|
@@ -25,7 +24,6 @@ export declare class JobManager {
|
|
|
25
24
|
enqueueWithName(name: string, params?: JobParams): Promise<string>;
|
|
26
25
|
enqueue(jobType: Type<IJob>, params?: JobParams): Promise<string>;
|
|
27
26
|
schedule(minute: JobScheduleTime, hour: JobScheduleTime, dayOfMonth: JobScheduleTime, month: JobScheduleTime, dayOfWeek: JobScheduleTime, jobType: Type<IJob>, params?: JobParams): IJobTask;
|
|
28
|
-
protected initProcessing(): Promise<void>;
|
|
29
27
|
startProcessing(): Promise<void>;
|
|
30
28
|
tryResolve(jobType: Type<IJob>, params: JobParams): string;
|
|
31
29
|
protected tryResolveFromName(jobName: string, params: JobParams): string;
|