diff options
author | Matthew Wild <mwild1@gmail.com> | 2023-04-01 11:56:38 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2023-04-01 11:56:38 +0100 |
commit | 5ce1fe2603abf0e49b396a34bfb3b11a9ccd2e27 (patch) | |
tree | 191c91c841e8ca2de123d6604ad8faef85dc0f64 /man/Makefile | |
parent | 13084baa387df6f72aa5088e8f3b98aac869ff23 (diff) | |
download | prosody-5ce1fe2603abf0e49b396a34bfb3b11a9ccd2e27.tar.gz prosody-5ce1fe2603abf0e49b396a34bfb3b11a9ccd2e27.zip |
util.startup: Add prosody.started promise to easily execute code after startup
To avoid a race where server-started fires before the promise function body is
run (on next tick), I moved server-started to fire on the next tick, which
seems sensible anyway.
Errors are logged, I'm not sure if we ought to be doing something more here.
I'm sure we'll find out.
Diffstat (limited to 'man/Makefile')
0 files changed, 0 insertions, 0 deletions