mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-25 10:03:07 +03:00
f14be11fc3
Note: This does not provide cron support, that is coming in the next PR.
8 lines
182 B
JavaScript
8 lines
182 B
JavaScript
import { sleep } from '@wasp/utils.js'
|
|
|
|
export const foo = async (args) => {
|
|
console.log("Inside Job bar's callback foo: ", args)
|
|
await sleep(4000)
|
|
return { hello: "world" }
|
|
}
|