Log

util/promise.lua @ 9749:9361bd1b9c9b

description author age
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