util/promise.lua
Fri, 17 Mar 2023 16:23:16 +0100 Kim Alvefur util: Prefix module imports with prosody namespace
Fri, 07 Oct 2022 17:45:23 +0100 Matthew Wild util.promise: Remove line that was supposed to be removed in eb9814372c54
Fri, 07 Oct 2022 17:43:26 +0100 Matthew Wild util.promise: Remove some redundant checks, add tests confirming redundancy
Mon, 11 Jul 2022 19:07:38 +0200 Kim Alvefur compat: Remove handling of Lua 5.1 location of 'unpack' function
Sat, 05 Jan 2019 07:08:24 +0100 Kim Alvefur util.promise: Support delayed promise execution
Thu, 25 Mar 2021 15:08:22 +0000 Matthew Wild util.promise: Switch order of parameters to join()
Thu, 25 Mar 2021 14:32:32 +0000 Matthew Wild util.promise: all()/all_settled() pass through non-promise values
Thu, 25 Mar 2021 14:28:38 +0000 Matthew Wild util.promise: Add join() convenience method
Thu, 25 Mar 2021 13:51:16 +0000 Matthew Wild util.promise: Add support for arbitrary keys in all()/all_settled()
Mon, 23 Nov 2020 20:39:47 +0000 Matthew Wild Merge 0.11->trunk
Mon, 23 Nov 2020 20:38:51 +0000 Matthew Wild util.promise: Use xpcall() for promise function to preserve tracebacks 0.11
Mon, 08 Jun 2020 14:01:02 +0100 Matthew Wild util.promise: Add all_settled, which follows semantics of allSettled from ES2020
Sun, 30 Dec 2018 03:24:54 +0100 Kim Alvefur util.promise: Remove references to callbacks after settling promise
Fri, 26 Oct 2018 19:32:00 +0100 Matthew Wild Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall
Fri, 26 Oct 2018 16:09:25 +0100 Matthew Wild util.promise: Switch from pcall to xpcall to get tracebacks on exceptions
Fri, 26 Oct 2018 09:23:31 +0100 Matthew Wild util.promise: Remove the non-standard ability to pass a promise to reject()
Thu, 25 Oct 2018 15:24:52 +0100 Matthew Wild util.promise: Fix missing parameters
Thu, 25 Oct 2018 14:38:00 +0100 Matthew Wild util.promise: Ensure chained promises always receive a value/rejection even if an intermediate promise has no handlers
Thu, 25 Oct 2018 14:19:27 +0100 Matthew Wild util.promise: Export is_promise()
Thu, 25 Oct 2018 14:16:14 +0100 Matthew Wild util.promise: Remove debug print and assert
Thu, 18 Oct 2018 18:03:31 +0100 Matthew Wild util.promise: Add promise.try()
Thu, 18 Oct 2018 13:33:19 +0200 Kim Alvefur util.promise: Add a string representation
Thu, 18 Oct 2018 12:13:17 +0100 Matthew Wild util.promise: Add promise:finally()
Thu, 18 Oct 2018 12:12:52 +0100 Matthew Wild util.promise: Some code relocation
Thu, 18 Oct 2018 12:11:50 +0100 Matthew Wild util.promise: Also support automatic resolution by returning a promise from an on_reject handler
Thu, 18 Oct 2018 12:03:33 +0100 Matthew Wild util.promise: Fix promise.reject() to return a rejected promise, and fix buggy test for it
Wed, 10 Oct 2018 17:45:19 +0100 Matthew Wild util.promise: ES6-like API for promises
less more (0) tip