mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-26 10:35:04 +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
|