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 |
util.promise: Remove the non-standard ability to pass a promise to reject()
|
Matthew Wild |
Fri, 26 Oct 2018 09:23:31 +0100 |
util.promise: Fix missing parameters
|
Matthew Wild |
Thu, 25 Oct 2018 15:24:52 +0100 |
util.promise: Ensure chained promises always receive a value/rejection even if an intermediate promise has no handlers
|
Matthew Wild |
Thu, 25 Oct 2018 14:38:00 +0100 |
util.promise: Export is_promise()
|
Matthew Wild |
Thu, 25 Oct 2018 14:19:27 +0100 |
util.promise: Remove debug print and assert
|
Matthew Wild |
Thu, 25 Oct 2018 14:16:14 +0100 |
util.promise: Add promise.try()
|
Matthew Wild |
Thu, 18 Oct 2018 18:03:31 +0100 |
util.promise: Add a string representation
|
Kim Alvefur |
Thu, 18 Oct 2018 13:33:19 +0200 |
util.promise: Add promise:finally()
|
Matthew Wild |
Thu, 18 Oct 2018 12:13:17 +0100 |
util.promise: Some code relocation
|
Matthew Wild |
Thu, 18 Oct 2018 12:12:52 +0100 |
util.promise: Also support automatic resolution by returning a promise from an on_reject handler
|
Matthew Wild |
Thu, 18 Oct 2018 12:11:50 +0100 |
util.promise: Fix promise.reject() to return a rejected promise, and fix buggy test for it
|
Matthew Wild |
Thu, 18 Oct 2018 12:03:33 +0100 |
util.promise: ES6-like API for promises
|
Matthew Wild |
Wed, 10 Oct 2018 17:45:19 +0100 |