Skip to content

Commit

Permalink
chore: remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Nov 30, 2024
1 parent 91896f5 commit 38d39a2
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/classes/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,17 +241,6 @@ export class Queue<
return await client.hget(this.keys.meta, 'version');
}

protected createJob(
data: JobJsonRaw,
jobId: string,
): Job<DataType, ResultType, NameType> {
return this.Job.fromJSON(this as MinimalQueue, data, jobId) as Job<
DataType,
ResultType,
NameType
>;
}

get repeat(): Promise<Repeat> {
return new Promise<Repeat>(async resolve => {
if (!this._repeat) {
Expand Down

0 comments on commit 38d39a2

Please sign in to comment.