Log

spec/util_async_spec.lua @ 12327:4d6f4f6d0814

description author age
util.async tests: Explicitly import match from luassert (luacheck) Matthew Wild Mon, 29 Nov 2021 14:22:08 +0000
util.async: Add next-tick configuration Matthew Wild Mon, 29 Nov 2021 14:14:30 +0000
util.async: Add sleep() method with configurable scheduling backend Matthew Wild Mon, 29 Nov 2021 14:11:24 +0000
tests: Silence [luacheck] warnings Kim Alvefur Mon, 23 Dec 2019 21:33:10 +0100
util.async: Remove async.once(), can now be replaced by runner():run(func) Matthew Wild Fri, 23 Mar 2018 14:22:01 +0000
util.async: Make parameters to async.runner() optional Matthew Wild Fri, 23 Mar 2018 14:02:33 +0000
util.async: Use wrapper for once runner (thanks luacheck) Kim Alvefur Thu, 22 Mar 2018 23:15:04 +0100
util.async: tests: ensure async.once() propagates errors Matthew Wild Thu, 22 Mar 2018 11:56:03 +0000
util.async: Add once() to create temporary runners Matthew Wild Thu, 22 Mar 2018 07:56:01 +0000
util.async: Add ready() to check whether running in async context Matthew Wild Thu, 22 Mar 2018 07:46:23 +0000
util.async: tests: more code re-use Matthew Wild Mon, 19 Mar 2018 16:40:40 +0000
util.async: tests: luacheck-clean, fixes some actual issues Matthew Wild Mon, 19 Mar 2018 16:31:53 +0000
util.async: tests: remove obsolete code and comments Matthew Wild Mon, 19 Mar 2018 16:25:02 +0000
util.async: tests: slight modifications to allow more code reuse in tests Matthew Wild Mon, 19 Mar 2018 16:24:42 +0000
util.async: Add some more tests for wait/done Matthew Wild Sun, 18 Mar 2018 22:43:06 +0000
util.async: tests: Ensure done() can be called before wait() Matthew Wild Sat, 17 Mar 2018 18:23:39 +0000
util.async: tests: Add helper function to create mock watcher callbacks Matthew Wild Sat, 17 Mar 2018 18:12:31 +0000
util.async: Trim trailing whitespace in tests [luacheck] Kim Alvefur Sat, 17 Mar 2018 23:00:04 +0100
util.async: tests: replace peeking at internal state with monitoring correct callback behaviour Matthew Wild Sat, 17 Mar 2018 17:59:58 +0000
util.async: if debugging is enabled, use runner id in logs Matthew Wild Sat, 17 Mar 2018 17:29:13 +0000
util.async: ensure change in e77b37de482e applies after out-of-loop resume also Matthew Wild Sat, 17 Mar 2018 17:28:07 +0000
util.async: Behaviour change: continue to process queued items after errors Matthew Wild Sat, 17 Mar 2018 14:54:48 +0000
util.async: Yet more tests Matthew Wild Sat, 17 Mar 2018 11:47:07 +0000
util.async: Ensure runner is left in correct state after out-of-main-loop error (+tests) Matthew Wild Fri, 16 Mar 2018 22:26:15 +0000
util.async: Add test to ensure waiters throw an error outside async contexts Matthew Wild Fri, 16 Mar 2018 22:19:33 +0000
util.async: Add tests to specifically cover error handling Matthew Wild Fri, 16 Mar 2018 17:50:16 +0000
util.async: Add tests Matthew Wild Fri, 16 Mar 2018 17:13:57 +0000