Log

util/async.lua @ 10171:628e238feb04

description author age
Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall Matthew Wild Fri, 26 Oct 2018 19:32:00 +0100
util.async: Remove sleep function Kim Alvefur Sun, 12 Aug 2018 23:52:39 +0200
util.{async,timer}: Move sleep() to reduce dependencies of util.timer Kim Alvefur Sun, 08 Jul 2018 00:37:01 +0200
MUC: Add config option to allow members to invite other members to the room (previously only owners/admins could do this) Matthew Wild Fri, 06 Jul 2018 15:33:46 +0100
util.async: Copy hooks from main thread into coroutines Matthew Wild Mon, 25 Jun 2018 13:53:17 +0100
util.async: Move runner id into log tag Kim Alvefur Fri, 04 May 2018 00:10:17 +0200
util.async: Add helper methods for setting watchers Matthew Wild Mon, 30 Apr 2018 12:53:53 +0100
util.timer: Move sleep() here from util.async Kim Alvefur Fri, 23 Mar 2018 21:18:15 +0100
util.async: Remove last trace of async.once [luacheck] Kim Alvefur Fri, 23 Mar 2018 20:57:34 +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: Allow nil as a guard key Matthew Wild Thu, 22 Mar 2018 16:26:09 +0000
util.async: Add sleep() method Matthew Wild Thu, 22 Mar 2018 13:02:00 +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: Bump log warnings to error level Matthew Wild Mon, 19 Mar 2018 11:51:40 +0000
util.async: Split runner_continue into smaller functions for easier testing and safety Matthew Wild Sun, 18 Mar 2018 12:05:38 +0000
util.async: Remove redundant line committed by mistake (Zash, luacheck) Matthew Wild Sat, 17 Mar 2018 22:03:08 +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: Convert asserts to a return false (same as other unexpected behaviour) Matthew Wild Sat, 17 Mar 2018 11:46:21 +0000
util.async: Add comment Matthew Wild Fri, 16 Mar 2018 22:31:12 +0000
util.async: You can never have too many asserts! Matthew Wild Fri, 16 Mar 2018 22:30:25 +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: Log the non-error state as well when there is an error being processed Matthew Wild Fri, 16 Mar 2018 17:13:20 +0000
util.async: Bugfix, don't continue main loop while there is a pending error Matthew Wild Fri, 16 Mar 2018 17:12:36 +0000
util.async: Fix order of statements so queue count makes more sense Matthew Wild Fri, 16 Mar 2018 17:12:09 +0000
util.async: Log warning when unexpected state is reached Matthew Wild Fri, 16 Mar 2018 17:11:23 +0000
util.async: Add per-runner ids and add runner:log() method Matthew Wild Fri, 16 Mar 2018 14:59:41 +0000