version 1.0.6
This commit is contained in:
parent
57239561f7
commit
617fdebee3
|
@ -87,7 +87,7 @@ type StopFunction = (stopTime?: TimeUntil) => StopCancelFunction | null
|
||||||
|
|
||||||
## Stop Cancel Functions
|
## Stop Cancel Functions
|
||||||
|
|
||||||
The `StopFunction` returns a `StopCancelFunction` when called. This function can be called to cancel a scheduled stop.
|
The `StopFunction` will return a `StopCancelFunction` when called with a stopTime. This function can be called to cancel a scheduled stop.
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
type StopCancelFunction = (stopRunning: boolean = false) => void
|
type StopCancelFunction = (stopRunning: boolean = false) => void
|
||||||
|
|
|
@ -1,9 +1,13 @@
|
||||||
{
|
{
|
||||||
"name": "schedule-later",
|
"name": "schedule-later",
|
||||||
"version": "1.0.5",
|
"version": "1.0.6",
|
||||||
"types": "dist/Scheduler.d.ts",
|
"types": "dist/Scheduler.d.ts",
|
||||||
"main": "dist/Scheduler.js",
|
"main": "dist/Scheduler.js",
|
||||||
"author": "Nightness",
|
"author": "Nightness",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nightness/schedule-later.git"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"pretest": "tsc",
|
"pretest": "tsc",
|
||||||
|
|
Loading…
Reference in New Issue