Log

util/promise.lua @ 13270:14bbfb2cc8dd default tip

description author age
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
util.promise: Remove line that was supposed to be removed in eb9814372c54 Matthew Wild Fri, 07 Oct 2022 17:45:23 +0100
util.promise: Remove some redundant checks, add tests confirming redundancy Matthew Wild Fri, 07 Oct 2022 17:43:26 +0100
compat: Remove handling of Lua 5.1 location of 'unpack' function Kim Alvefur Mon, 11 Jul 2022 19:07:38 +0200
util.promise: Support delayed promise execution Kim Alvefur Sat, 05 Jan 2019 07:08:24 +0100
util.promise: Switch order of parameters to join() Matthew Wild Thu, 25 Mar 2021 15:08:22 +0000
util.promise: all()/all_settled() pass through non-promise values Matthew Wild Thu, 25 Mar 2021 14:32:32 +0000
util.promise: Add join() convenience method Matthew Wild Thu, 25 Mar 2021 14:28:38 +0000
util.promise: Add support for arbitrary keys in all()/all_settled() Matthew Wild Thu, 25 Mar 2021 13:51:16 +0000
Merge 0.11->trunk Matthew Wild Mon, 23 Nov 2020 20:39:47 +0000
util.promise: Use xpcall() for promise function to preserve tracebacks 0.11 Matthew Wild Mon, 23 Nov 2020 20:38:51 +0000
util.promise: Add all_settled, which follows semantics of allSettled from ES2020 Matthew Wild Mon, 08 Jun 2020 14:01:02 +0100
util.promise: Remove references to callbacks after settling promise Kim Alvefur Sun, 30 Dec 2018 03:24:54 +0100
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.promise: Switch from pcall to xpcall to get tracebacks on exceptions Matthew Wild Fri, 26 Oct 2018 16:09:25 +0100