util/async.lua
Tue, 22 Feb 2022 14:17:10 +0100 Kim Alvefur util.async: Optionally allow too many 'done' callbacks
Mon, 29 Nov 2021 14:14:30 +0000 Matthew Wild util.async: Add next-tick configuration
Mon, 29 Nov 2021 14:11:24 +0000 Matthew Wild util.async: Add sleep() method with configurable scheduling backend
Sun, 14 Jun 2020 09:40:08 +0100 Matthew Wild util.async: Don't attempt to close thread if not created yet
Sun, 14 Jun 2020 08:49:32 +0100 Matthew Wild util.async: Call coroutine.close() on dead threads (Lua 5.4)
Sat, 13 Jun 2020 08:01:57 +0100 Matthew Wild util.async: Rename wait -> wait_for (w/compat)
Sun, 29 Sep 2019 18:42:35 +0200 Kim Alvefur util.async: Add function for waiting on promises and unpacking the results
Fri, 26 Oct 2018 19:32:00 +0100 Matthew Wild Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall
Sun, 12 Aug 2018 23:52:39 +0200 Kim Alvefur util.async: Remove sleep function
Sun, 08 Jul 2018 00:37:01 +0200 Kim Alvefur util.{async,timer}: Move sleep() to reduce dependencies of util.timer
Fri, 06 Jul 2018 15:33:46 +0100 Matthew Wild MUC: Add config option to allow members to invite other members to the room (previously only owners/admins could do this)
Mon, 25 Jun 2018 13:53:17 +0100 Matthew Wild util.async: Copy hooks from main thread into coroutines
Fri, 04 May 2018 00:10:17 +0200 Kim Alvefur util.async: Move runner id into log tag
Mon, 30 Apr 2018 12:53:53 +0100 Matthew Wild util.async: Add helper methods for setting watchers
Fri, 23 Mar 2018 21:18:15 +0100 Kim Alvefur util.timer: Move sleep() here from util.async
Fri, 23 Mar 2018 20:57:34 +0100 Kim Alvefur util.async: Remove last trace of async.once [luacheck]
Fri, 23 Mar 2018 14:22:01 +0000 Matthew Wild util.async: Remove async.once(), can now be replaced by runner():run(func)
Fri, 23 Mar 2018 14:02:33 +0000 Matthew Wild util.async: Make parameters to async.runner() optional
Thu, 22 Mar 2018 23:15:04 +0100 Kim Alvefur util.async: Use wrapper for once runner (thanks luacheck)
Thu, 22 Mar 2018 16:26:09 +0000 Matthew Wild util.async: Allow nil as a guard key
Thu, 22 Mar 2018 13:02:00 +0000 Matthew Wild util.async: Add sleep() method
Thu, 22 Mar 2018 07:56:01 +0000 Matthew Wild util.async: Add once() to create temporary runners
Thu, 22 Mar 2018 07:46:23 +0000 Matthew Wild util.async: Add ready() to check whether running in async context
Mon, 19 Mar 2018 11:51:40 +0000 Matthew Wild util.async: Bump log warnings to error level
Sun, 18 Mar 2018 12:05:38 +0000 Matthew Wild util.async: Split runner_continue into smaller functions for easier testing and safety
Sat, 17 Mar 2018 22:03:08 +0000 Matthew Wild util.async: Remove redundant line committed by mistake (Zash, luacheck)
Sat, 17 Mar 2018 17:28:07 +0000 Matthew Wild util.async: ensure change in e77b37de482e applies after out-of-loop resume also
Sat, 17 Mar 2018 14:54:48 +0000 Matthew Wild util.async: Behaviour change: continue to process queued items after errors
Sat, 17 Mar 2018 11:46:21 +0000 Matthew Wild util.async: Convert asserts to a return false (same as other unexpected behaviour)
Fri, 16 Mar 2018 22:31:12 +0000 Matthew Wild util.async: Add comment
Fri, 16 Mar 2018 22:30:25 +0000 Matthew Wild util.async: You can never have too many asserts!
Fri, 16 Mar 2018 22:26:15 +0000 Matthew Wild util.async: Ensure runner is left in correct state after out-of-main-loop error (+tests)
Fri, 16 Mar 2018 17:13:20 +0000 Matthew Wild util.async: Log the non-error state as well when there is an error being processed
Fri, 16 Mar 2018 17:12:36 +0000 Matthew Wild util.async: Bugfix, don't continue main loop while there is a pending error
Fri, 16 Mar 2018 17:12:09 +0000 Matthew Wild util.async: Fix order of statements so queue count makes more sense
Fri, 16 Mar 2018 17:11:23 +0000 Matthew Wild util.async: Log warning when unexpected state is reached
Fri, 16 Mar 2018 14:59:41 +0000 Matthew Wild util.async: Add per-runner ids and add runner:log() method
Tue, 21 Nov 2017 21:48:43 +0100 Kim Alvefur util.async: Fix thread check to work correctly in Lua 5.2
Tue, 21 Nov 2017 21:48:14 +0100 Kim Alvefur util.async: Factor out thread check into a function
Fri, 15 Sep 2017 17:17:07 -0400 Waqas Hussain util.async: Fix documentation URL
Sat, 19 Nov 2016 01:11:28 +0100 Kim Alvefur util.async: Add annotation to ignore warning [luacheck]
Sat, 19 Nov 2016 01:11:53 +0100 Kim Alvefur util.async: Rename variable to avoid name clash [luacheck]
Sun, 22 May 2016 20:06:12 +0100 Matthew Wild util.async: Add some more comments for clarity
Sat, 16 Apr 2016 21:08:05 +0100 Emmanuel Gil Peyrot Update every link to the documentation to use HTTPS
Tue, 13 Aug 2013 23:38:50 +0100 Matthew Wild util.async: Make guarder() local
Tue, 13 Aug 2013 21:26:53 +0100 Matthew Wild util.async: Add guarder method, to create guards to ensure only a single runner can pass through a section of code at a time
Tue, 13 Aug 2013 19:23:00 +0100 Matthew Wild util.async: Fix logic bug that prevented error watcher being called for runners
Mon, 12 Aug 2013 13:22:27 +0200 Kim Alvefur util.async: waiter: Throw error if done() called too many times
Mon, 12 Aug 2013 12:08:51 +0100 Matthew Wild util.async: waiter: Remove restriction about wait() being called before done()
Mon, 12 Aug 2013 11:50:27 +0100 Matthew Wild util.async: runner: Fix check for new state to recognise transition to 'waiting'
Mon, 12 Aug 2013 10:27:08 +0100 Matthew Wild util.async: Make functions local
Sun, 11 Aug 2013 14:46:07 +0100 Matthew Wild util.async: New library to provide support around coroutine-based non-blocking functions
less more (0) tip