mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 08:36:01 +00:00
merged origin/release/0.12
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Task } from "../Task";
|
||||
import { $console } from "core";
|
||||
import * as tbbox from "@sinclair/typebox";
|
||||
const { Type } = tbbox;
|
||||
|
||||
@@ -11,7 +12,7 @@ export class LogTask extends Task<typeof LogTask.schema> {
|
||||
|
||||
async execute() {
|
||||
await new Promise((resolve) => setTimeout(resolve, this.params.delay));
|
||||
console.log(`[DONE] LogTask: ${this.name}`);
|
||||
$console.log(`[DONE] LogTask: ${this.name}`);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user