diff options
author | Matthew Wild <mwild1@gmail.com> | 2021-11-29 14:14:30 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2021-11-29 14:14:30 +0000 |
commit | d46c43fbeb5e2fcc1d3cccf348ebb92f60f4bc2d (patch) | |
tree | fd0045f0a108f19889e8d87dfbf579fe5bd8bd48 /README | |
parent | cfef2c6ef6609d3d917edb144123295f64187545 (diff) | |
download | prosody-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 'README')
0 files changed, 0 insertions, 0 deletions