Mercurial > prosody-hg
view util/time.lua @ 8614:bfbafeced0c4
util.async: Yet more tests
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 17 Mar 2018 11:47:07 +0000 |
| parents | 72e48bddf617 |
| children |
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; }
