adonisjs-scheduler
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -10,4 +10,4 @@ import { BaseCommand } from '@adonisjs/core/build/standalone'; | ||
}; | ||
immediate(state?: boolean): void; | ||
withoutOverlapping(expiresAt?: number): void; | ||
immediate(state?: boolean): this; | ||
withoutOverlapping(expiresAt?: number): this; | ||
everyMinutes(minutes: number): this; | ||
@@ -14,0 +14,0 @@ everyMinute(): this; |
@@ -26,2 +26,3 @@ "use strict"; | ||
this.config.immediate = state; | ||
return this; | ||
} | ||
@@ -31,2 +32,3 @@ withoutOverlapping(expiresAt = 3600000) { | ||
this.config.expiresAt = expiresAt; | ||
return this; | ||
} | ||
@@ -33,0 +35,0 @@ everyMinutes(minutes) { |
{ | ||
"name": "adonisjs-scheduler", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "Task scheduler for AdonisJS", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/KABBOUCHI/adonisjs-scheduler#readme", |
23398
495