Skip to content

Commit

Permalink
feat: implement task scheduler (#7193)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone authored Sep 27, 2024
1 parent 71d3c00 commit 24cbc65
Show file tree
Hide file tree
Showing 4 changed files with 1,477 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,40 +44,40 @@
"jsonc"
],
"files.exclude": {
"node_modules/": false,
"coverage/": false,
"node_modules/": true,
"coverage/": true,
".*": false,
"**/node_modules/": false,
".nyc_output": false,
"**/coverage/": false,
"**/*.map": false,
"**/zwave-js-*.tgz": false,
"build": false,
"*.d.ts": false,
"*.map": false,
"**/build": false,
"**/*.tsbuildinfo": false,
"packages/zwave-js/**/fingerprint.txt": false,
"node_modules/zwave-js/**/fingerprint.txt": false,
".husky/_/**/*": false,
"packages/config/config/devices/index.json": false,
"packages/*/package-lock.json": false,
".yarn/*": false,
"**/node_modules/": true,
".nyc_output": true,
"**/coverage/": true,
"**/*.map": true,
"**/zwave-js-*.tgz": true,
"build": true,
"*.d.ts": true,
"*.map": true,
"**/build": true,
"**/*.tsbuildinfo": true,
"packages/zwave-js/**/fingerprint.txt": true,
"node_modules/zwave-js/**/fingerprint.txt": true,
".husky/_/**/*": true,
"packages/config/config/devices/index.json": true,
"packages/*/package-lock.json": true,
".yarn/*": true,
".yarn/patches": false,
".yarn/releases": false,
".yarn/plugins": false,
".yarn/sdks": false,
".yarn/versions": false,
"**/.pnp.*": false,
"**/*.test.js": false,
"packages/*/cache": false,
"**/.tmp": false,
"**/.tmpoh/": false,
"**/.tmpozw/": false,
"**/.tmpzwa/": false,
"**/.secrets": false,
"**/.test-payloads": false,
"(!test)/cache": false
"**/.pnp.*": true,
"**/*.test.js": true,
"packages/*/cache": true,
"**/.tmp": true,
"**/.tmpoh/": true,
"**/.tmpozw/": true,
"**/.tmpzwa/": true,
"**/.secrets": true,
"**/.test-payloads": true,
"(!test)/cache": true
},
"files.associations": {
"**/config/**/*.json": "jsonc",
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/error/ZWaveError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export enum ZWaveErrorCodes {
Driver_NoErrorHandler,
Driver_FeatureDisabled,

/** The task was removed from the task queue */
Driver_TaskRemoved,

/** There was a timeout while waiting for a message from the controller */
Controller_Timeout = 200,
/** There was a timeout while waiting for a response from a node */
Expand Down
Loading

0 comments on commit 24cbc65

Please sign in to comment.