aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/net.c
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2021-11-29 14:14:30 +0000
committerMatthew Wild <mwild1@gmail.com>2021-11-29 14:14:30 +0000
commitd46c43fbeb5e2fcc1d3cccf348ebb92f60f4bc2d (patch)
treefd0045f0a108f19889e8d87dfbf579fe5bd8bd48 /util-src/net.c
parentcfef2c6ef6609d3d917edb144123295f64187545 (diff)
downloadprosody-d46c43fbeb5e2fcc1d3cccf348ebb92f60f4bc2d.tar.gz
prosody-d46c43fbeb5e2fcc1d3cccf348ebb92f60f4bc2d.zip
util.async: Add next-tick configuration
Running woken runners in the next iteration of the event loop prevents unexpected recursion, unexpected tracebacks, and is generally more predictable. The pattern is borrowed from util.promise, where we're now doing the same.
Diffstat (limited to 'util-src/net.c')
0 files changed, 0 insertions, 0 deletions