server-socket-framework-jps
Advanced tools
Comparing version 1.1.0-1 to 1.1.0-2
@@ -8,3 +8,4 @@ import { Job, jobCompleteCallback, JobConfig, JobError, JobStatus } from "./Job"; | ||
private runCB; | ||
constructor(config: JobConfig); | ||
constructor(); | ||
setConfig(config: JobConfig): void; | ||
addComponentJob(job: Job): void; | ||
@@ -11,0 +12,0 @@ executeJob(runId: string, cb: jobCompleteCallback): void; |
@@ -6,3 +6,3 @@ "use strict"; | ||
class CompositeJob { | ||
constructor(config) { | ||
constructor() { | ||
this.componentJobs = []; | ||
@@ -12,6 +12,8 @@ this.currentJobIndex = 0; | ||
this.runCB = null; | ||
this.config = config; | ||
this.cb = this.cb.bind(this); | ||
this.executeJob = this.executeJob.bind(this); | ||
} | ||
setConfig(config) { | ||
this.config = config; | ||
} | ||
addComponentJob(job) { | ||
@@ -18,0 +20,0 @@ this.componentJobs.push(job); |
{ | ||
"name": "server-socket-framework-jps", | ||
"version": "1.1.0-1", | ||
"version": "1.1.0-2", | ||
"description": "A simple socket framework for persistent chat rooms and data messages", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78124
1093