We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d324b57 commit ad550dbCopy full SHA for ad550db
README.md
@@ -359,7 +359,7 @@ const scheduler = {
359
postTask(task, options) {
360
// In practice, the task execution may be deferred.
361
// Here we simply run the task immediately with the context.
362
- this.context.run({ priority: options.priority }, task);
+ return this.context.run({ priority: options.priority }, task);
363
},
364
currentTask() {
365
return this.context.get() ?? { priority: "default" };
0 commit comments