import controllers from '~/server/system/controllers'
import Server from '~/server/system/server'

// Each worker will go in that function
const worker = () => {
  const server = new Server()

  server.emitter.on('serverReady', () => {
  })

  // Init the controllers
  controllers()
}

export default worker
