From 8665a9c953144e15457fdb616678ad5e04351c85 Mon Sep 17 00:00:00 2001 From: MohammadHoseinPaymard Date: Mon, 26 May 2025 14:15:45 +0330 Subject: [PATCH] initial --- index.js | 0 question.js | 0 util.js | 9 +++++++++ workflow.js | 0 4 files changed, 9 insertions(+) create mode 100644 index.js create mode 100644 question.js create mode 100644 util.js create mode 100644 workflow.js diff --git a/index.js b/index.js new file mode 100644 index 0000000..e69de29 diff --git a/question.js b/question.js new file mode 100644 index 0000000..e69de29 diff --git a/util.js b/util.js new file mode 100644 index 0000000..5828dc7 --- /dev/null +++ b/util.js @@ -0,0 +1,9 @@ +const sleep = (ms)=>{ + return new Promise(resolve=>{ + console.log(`${ms} should wait`); + setTimeout(resolve,ms); + }) +} +module.exports={ + sleep +} \ No newline at end of file diff --git a/workflow.js b/workflow.js new file mode 100644 index 0000000..e69de29