mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-28 03:35:45 +03:00
12 lines
282 B
JavaScript
12 lines
282 B
JavaScript
let someResource = undefined
|
|
|
|
export const getSomeResource = () => someResource
|
|
|
|
const setup = async () => {
|
|
await new Promise(resolve => setTimeout(resolve, 2000))
|
|
someResource = 'This resource is now set up.'
|
|
console.log('Custom server setup done!')
|
|
}
|
|
|
|
export default setup
|