diff options
author | Matthew Wild <mwild1@gmail.com> | 2021-11-29 14:11:24 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2021-11-29 14:11:24 +0000 |
commit | cfef2c6ef6609d3d917edb144123295f64187545 (patch) | |
tree | 704f2854d4ec07e338f2feff58968bf20996e025 /util/array.lua | |
parent | ebd4ea2bb3743aa6ee8442fec4bac465e0127c87 (diff) | |
download | prosody-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