Log

spec/util_async_spec.lua @ 13219:22763b30e458 0.12

description author age
util.async tests: Explicitly import match from luassert (luacheck) Matthew Wild 2021-11-29
util.async: Add next-tick configuration Matthew Wild 2021-11-29
util.async: Add sleep() method with configurable scheduling backend Matthew Wild 2021-11-29
tests: Silence [luacheck] warnings Kim Alvefur 2019-12-23
util.async: Remove async.once(), can now be replaced by runner():run(func) Matthew Wild 2018-03-23
util.async: Make parameters to async.runner() optional Matthew Wild 2018-03-23
util.async: Use wrapper for once runner (thanks luacheck) Kim Alvefur 2018-03-22
util.async: tests: ensure async.once() propagates errors Matthew Wild 2018-03-22
util.async: Add once() to create temporary runners Matthew Wild 2018-03-22
util.async: Add ready() to check whether running in async context Matthew Wild 2018-03-22
util.async: tests: more code re-use Matthew Wild 2018-03-19
util.async: tests: luacheck-clean, fixes some actual issues Matthew Wild 2018-03-19
util.async: tests: remove obsolete code and comments Matthew Wild 2018-03-19
util.async: tests: slight modifications to allow more code reuse in tests Matthew Wild 2018-03-19
util.async: Add some more tests for wait/done Matthew Wild 2018-03-18
util.async: tests: Ensure done() can be called before wait() Matthew Wild 2018-03-17
util.async: tests: Add helper function to create mock watcher callbacks Matthew Wild 2018-03-17
util.async: Trim trailing whitespace in tests [luacheck] Kim Alvefur 2018-03-17
util.async: tests: replace peeking at internal state with monitoring correct callback behaviour Matthew Wild 2018-03-17
util.async: if debugging is enabled, use runner id in logs Matthew Wild 2018-03-17
util.async: ensure change in e77b37de482e applies after out-of-loop resume also Matthew Wild 2018-03-17
util.async: Behaviour change: continue to process queued items after errors Matthew Wild 2018-03-17
util.async: Yet more tests Matthew Wild 2018-03-17
util.async: Ensure runner is left in correct state after out-of-main-loop error (+tests) Matthew Wild 2018-03-16
util.async: Add test to ensure waiters throw an error outside async contexts Matthew Wild 2018-03-16
util.async: Add tests to specifically cover error handling Matthew Wild 2018-03-16
util.async: Add tests Matthew Wild 2018-03-16