aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_async_spec.lua
Commit message (Expand)AuthorAgeFilesLines
* util.async: Remove async.once(), can now be replaced by runner():run(func)Matthew Wild2018-03-231-19/+0
* util.async: Make parameters to async.runner() optionalMatthew Wild2018-03-231-0/+20
* util.async: Use wrapper for once runner (thanks luacheck)Kim Alvefur2018-03-221-0/+1
* util.async: tests: ensure async.once() propagates errorsMatthew Wild2018-03-221-0/+8
* util.async: Add once() to create temporary runnersMatthew Wild2018-03-221-0/+10
* util.async: Add ready() to check whether running in async contextMatthew Wild2018-03-221-0/+14
* util.async: tests: more code re-useMatthew Wild2018-03-191-32/+20
* util.async: tests: luacheck-clean, fixes some actual issuesMatthew Wild2018-03-191-64/+65
* util.async: tests: remove obsolete code and commentsMatthew Wild2018-03-191-5/+0
* util.async: tests: slight modifications to allow more code reuse in testsMatthew Wild2018-03-191-12/+15
* util.async: Add some more tests for wait/doneMatthew Wild2018-03-181-0/+40
* util.async: tests: Ensure done() can be called before wait()Matthew Wild2018-03-171-0/+18
* util.async: tests: Add helper function to create mock watcher callbacksMatthew Wild2018-03-171-9/+15
* util.async: Trim trailing whitespace in tests [luacheck]Kim Alvefur2018-03-171-26/+26
* util.async: tests: replace peeking at internal state with monitoring correct ...Matthew Wild2018-03-171-37/+68
* util.async: if debugging is enabled, use runner id in logsMatthew Wild2018-03-171-1/+1
* util.async: ensure change in e77b37de482e applies after out-of-loop resume alsoMatthew Wild2018-03-171-0/+25
* util.async: Behaviour change: continue to process queued items after errorsMatthew Wild2018-03-171-0/+24
* util.async: Yet more testsMatthew Wild2018-03-171-0/+52
* util.async: Ensure runner is left in correct state after out-of-main-loop err...Matthew Wild2018-03-161-0/+23
* util.async: Add test to ensure waiters throw an error outside async contextsMatthew Wild2018-03-161-0/+5
* util.async: Add tests to specifically cover error handlingMatthew Wild2018-03-161-0/+56
* util.async: Add testsMatthew Wild2018-03-161-0/+315