<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: spec/util_async_spec.lua history</title>
    <description>spec/util_async_spec.lua revision history</description>
    <item>
    <title>util.async tests: Explicitly import match from luassert (luacheck)</title>
    <link>http://hg.omfa.de/prosody-hg/log/563ee7969f6c/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async tests: Explicitly import match from luassert (luacheck)]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 29 Nov 2021 14:22:08 +0000</pubDate>
</item>
<item>
    <title>util.async: Add next-tick configuration</title>
    <link>http://hg.omfa.de/prosody-hg/log/9a70a543c727/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Add next-tick configuration<br/>
<br/>
Running woken runners in the next iteration of the event loop prevents<br/>
unexpected recursion, unexpected tracebacks, and is generally more<br/>
predictable.<br/>
<br/>
The pattern is borrowed from util.promise, where we're now doing the same.]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 29 Nov 2021 14:14:30 +0000</pubDate>
</item>
<item>
    <title>util.async: Add sleep() method with configurable scheduling backend</title>
    <link>http://hg.omfa.de/prosody-hg/log/542a9a503073/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Add sleep() method with configurable scheduling backend<br/>
<br/>
No scheduler set by default, so it will error (we plan to initialize it in<br/>
util.startup).<br/>
<br/>
We wanted to avoid a hard dependency on util.timer (which in turn depends on<br/>
network backends, etc.), and we didn't add timer.sleep() because we didn't<br/>
want to add a hard dependency on util.async for things that don't need it.]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 29 Nov 2021 14:11:24 +0000</pubDate>
</item>
<item>
    <title>tests: Silence [luacheck] warnings</title>
    <link>http://hg.omfa.de/prosody-hg/log/6c6ff4509082/spec/util_async_spec.lua</link>
    <description><![CDATA[tests: Silence [luacheck] warnings]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Mon, 23 Dec 2019 21:33:10 +0100</pubDate>
</item>
<item>
    <title>util.async: Remove async.once(), can now be replaced by runner():run(func)</title>
    <link>http://hg.omfa.de/prosody-hg/log/867ac771fb6e/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Remove async.once(), can now be replaced by runner():run(func)]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 23 Mar 2018 14:22:01 +0000</pubDate>
</item>
<item>
    <title>util.async: Make parameters to async.runner() optional</title>
    <link>http://hg.omfa.de/prosody-hg/log/0c077800cd70/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Make parameters to async.runner() optional]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 23 Mar 2018 14:02:33 +0000</pubDate>
</item>
<item>
    <title>util.async: Use wrapper for once runner (thanks luacheck)</title>
    <link>http://hg.omfa.de/prosody-hg/log/2aa85b0cd2b8/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Use wrapper for once runner (thanks luacheck)]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Thu, 22 Mar 2018 23:15:04 +0100</pubDate>
</item>
<item>
    <title>util.async: tests: ensure async.once() propagates errors</title>
    <link>http://hg.omfa.de/prosody-hg/log/2f133b6e8740/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: tests: ensure async.once() propagates errors]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 22 Mar 2018 11:56:03 +0000</pubDate>
</item>
<item>
    <title>util.async: Add once() to create temporary runners</title>
    <link>http://hg.omfa.de/prosody-hg/log/9246f64d6f1e/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Add once() to create temporary runners]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 22 Mar 2018 07:56:01 +0000</pubDate>
</item>
<item>
    <title>util.async: Add ready() to check whether running in async context</title>
    <link>http://hg.omfa.de/prosody-hg/log/ca710a71d730/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Add ready() to check whether running in async context]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 22 Mar 2018 07:46:23 +0000</pubDate>
</item>
<item>
    <title>util.async: tests: more code re-use</title>
    <link>http://hg.omfa.de/prosody-hg/log/8ec18a002c30/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: tests: more code re-use]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 19 Mar 2018 16:40:40 +0000</pubDate>
</item>
<item>
    <title>util.async: tests: luacheck-clean, fixes some actual issues</title>
    <link>http://hg.omfa.de/prosody-hg/log/02b841ed03d1/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: tests: luacheck-clean, fixes some actual issues]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 19 Mar 2018 16:31:53 +0000</pubDate>
</item>
<item>
    <title>util.async: tests: remove obsolete code and comments</title>
    <link>http://hg.omfa.de/prosody-hg/log/1daabc077393/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: tests: remove obsolete code and comments]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 19 Mar 2018 16:25:02 +0000</pubDate>
</item>
<item>
    <title>util.async: tests: slight modifications to allow more code reuse in tests</title>
    <link>http://hg.omfa.de/prosody-hg/log/deade38ffbbd/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: tests: slight modifications to allow more code reuse in tests]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 19 Mar 2018 16:24:42 +0000</pubDate>
</item>
<item>
    <title>util.async: Add some more tests for wait/done</title>
    <link>http://hg.omfa.de/prosody-hg/log/e88744fa0985/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Add some more tests for wait/done]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 18 Mar 2018 22:43:06 +0000</pubDate>
</item>
<item>
    <title>util.async: tests: Ensure done() can be called before wait()</title>
    <link>http://hg.omfa.de/prosody-hg/log/5325f0e1791b/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: tests: Ensure done() can be called before wait()]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 17 Mar 2018 18:23:39 +0000</pubDate>
</item>
<item>
    <title>util.async: tests: Add helper function to create mock watcher callbacks</title>
    <link>http://hg.omfa.de/prosody-hg/log/ab242c513bf4/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: tests: Add helper function to create mock watcher callbacks]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 17 Mar 2018 18:12:31 +0000</pubDate>
</item>
<item>
    <title>util.async: Trim trailing whitespace in tests [luacheck]</title>
    <link>http://hg.omfa.de/prosody-hg/log/92fee8a6c988/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Trim trailing whitespace in tests [luacheck]]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 17 Mar 2018 23:00:04 +0100</pubDate>
</item>
<item>
    <title>util.async: tests: replace peeking at internal state with monitoring correct callback behaviour</title>
    <link>http://hg.omfa.de/prosody-hg/log/680b1caa2dea/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: tests: replace peeking at internal state with monitoring correct callback behaviour]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 17 Mar 2018 17:59:58 +0000</pubDate>
</item>
<item>
    <title>util.async: if debugging is enabled, use runner id in logs</title>
    <link>http://hg.omfa.de/prosody-hg/log/fafb4036771c/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: if debugging is enabled, use runner id in logs]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 17 Mar 2018 17:29:13 +0000</pubDate>
</item>
<item>
    <title>util.async: ensure change in e77b37de482e applies after out-of-loop resume also</title>
    <link>http://hg.omfa.de/prosody-hg/log/a15c891c6232/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: ensure change in e77b37de482e applies after out-of-loop resume also]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 17 Mar 2018 17:28:07 +0000</pubDate>
</item>
<item>
    <title>util.async: Behaviour change: continue to process queued items after errors</title>
    <link>http://hg.omfa.de/prosody-hg/log/e77b37de482e/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Behaviour change: continue to process queued items after errors]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 17 Mar 2018 14:54:48 +0000</pubDate>
</item>
<item>
    <title>util.async: Yet more tests</title>
    <link>http://hg.omfa.de/prosody-hg/log/bfbafeced0c4/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Yet more tests]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 17 Mar 2018 11:47:07 +0000</pubDate>
</item>
<item>
    <title>util.async: Ensure runner is left in correct state after out-of-main-loop error (+tests)</title>
    <link>http://hg.omfa.de/prosody-hg/log/9f6ab206d741/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Ensure runner is left in correct state after out-of-main-loop error (+tests)]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 16 Mar 2018 22:26:15 +0000</pubDate>
</item>
<item>
    <title>util.async: Add test to ensure waiters throw an error outside async contexts</title>
    <link>http://hg.omfa.de/prosody-hg/log/a2e6caf5848d/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Add test to ensure waiters throw an error outside async contexts]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 16 Mar 2018 22:19:33 +0000</pubDate>
</item>
<item>
    <title>util.async: Add tests to specifically cover error handling</title>
    <link>http://hg.omfa.de/prosody-hg/log/62bb06cf8a43/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Add tests to specifically cover error handling]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 16 Mar 2018 17:50:16 +0000</pubDate>
</item>
<item>
    <title>util.async: Add tests</title>
    <link>http://hg.omfa.de/prosody-hg/log/3a1efc0532cb/spec/util_async_spec.lua</link>
    <description><![CDATA[util.async: Add tests]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 16 Mar 2018 17:13:57 +0000</pubDate>
</item>

  </channel>
</rss>
