Software /
code /
verse
File
libs/time.lua @ 470:e690759c5072
pep: Include item id in event
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 17 Mar 2023 09:27:27 +0000 |
parent | 440:14071b3a46df |
child | 471:788d4d91ef6b |
line wrap: on
line source
-- Import gettime() from LuaSocket, as a way to access high-resolution time -- in a platform-independent way local socket_gettime = require "socket".gettime; return { now = socket_gettime; }