restart.lua 412 B

12345678910111213141516
  1. return {
  2. summary = 'Restart the application.',
  3. description = 'Pushes an event to restart the framework.',
  4. arguments = {},
  5. returns = {},
  6. notes = [[
  7. The event won't be processed until the next time `lovr.event.poll` is called.
  8. The `lovr.restart` callback can be used to persist a value between restarts.
  9. ]],
  10. related = {
  11. 'lovr.restart',
  12. 'lovr.event.poll',
  13. 'lovr.event.quit'
  14. }
  15. }