aboutsummaryrefslogtreecommitdiffstats
path: root/util/array.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2021-11-29 14:11:24 +0000
committerMatthew Wild <mwild1@gmail.com>2021-11-29 14:11:24 +0000
commitcfef2c6ef6609d3d917edb144123295f64187545 (patch)
tree704f2854d4ec07e338f2feff58968bf20996e025 /util/array.lua
parentebd4ea2bb3743aa6ee8442fec4bac465e0127c87 (diff)
downloadprosody-cfef2c6ef6609d3d917edb144123295f64187545.tar.gz
prosody-cfef2c6ef6609d3d917edb144123295f64187545.zip
util.async: Add sleep() method with configurable scheduling backend
No scheduler set by default, so it will error (we plan to initialize it in util.startup). We wanted to avoid a hard dependency on util.timer (which in turn depends on network backends, etc.), and we didn't add timer.sleep() because we didn't want to add a hard dependency on util.async for things that don't need it.
Diffstat (limited to 'util/array.lua')
0 files changed, 0 insertions, 0 deletions