aboutsummaryrefslogtreecommitdiffstats
path: root/util/async.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.async: Ensure runner is left in correct state after out-of-main-loop ↵Matthew Wild2018-03-161-1/+6
| | | | error (+tests)
* util.async: Log the non-error state as well when there is an error being ↵Matthew Wild2018-03-161-1/+1
| | | | processed
* util.async: Bugfix, don't continue main loop while there is a pending errorMatthew Wild2018-03-161-1/+1
|
* util.async: Fix order of statements so queue count makes more senseMatthew Wild2018-03-161-1/+2
|
* util.async: Log warning when unexpected state is reachedMatthew Wild2018-03-161-0/+1
|
* util.async: Add per-runner ids and add runner:log() methodMatthew Wild2018-03-161-1/+10
|
* util.async: Fix thread check to work correctly in Lua 5.2Kim Alvefur2017-11-211-2/+2
| | | | | coroutine.running() now returns the main thread and a boolean true if called from the main thread, as opposed to nil in 5.1
* util.async: Factor out thread check into a functionKim Alvefur2017-11-211-8/+10
|
* util.async: Fix documentation URLWaqas Hussain2017-09-151-2/+2
|
* util.async: Add annotation to ignore warning [luacheck]Kim Alvefur2016-11-191-1/+1
|
* util.async: Rename variable to avoid name clash [luacheck]Kim Alvefur2016-11-191-2/+2
|
* util.async: Add some more comments for clarityMatthew Wild2016-05-221-0/+15
|
* Update every link to the documentation to use HTTPSEmmanuel Gil Peyrot2016-04-161-2/+2
|
* util.async: Make guarder() localMatthew Wild2013-08-131-1/+1
|
* util.async: Add guarder method, to create guards to ensure only a single ↵Matthew Wild2013-08-131-1/+37
| | | | runner can pass through a section of code at a time
* util.async: Fix logic bug that prevented error watcher being called for runnersMatthew Wild2013-08-131-2/+6
|
* util.async: waiter: Throw error if done() called too many timesKim Alvefur2013-08-121-0/+2
|
* util.async: waiter: Remove restriction about wait() being called before done()Matthew Wild2013-08-121-4/+5
|
* util.async: runner: Fix check for new state to recognise transition to 'waiting'Matthew Wild2013-08-121-1/+1
|
* util.async: Make functions localMatthew Wild2013-08-121-2/+2
|
* util.async: New library to provide support around coroutine-based ↵Matthew Wild2013-08-111-0/+115
non-blocking functions