aboutsummaryrefslogtreecommitdiffstats
path: root/util/promise.lua
Commit message (Expand)AuthorAgeFilesLines
* util.promise: Switch from pcall to xpcall to get tracebacks on exceptionsMatthew Wild2018-10-261-1/+1
* util.promise: Remove the non-standard ability to pass a promise to reject()Matthew Wild2018-10-261-3/+1
* util.promise: Fix missing parametersMatthew Wild2018-10-251-2/+2
* util.promise: Ensure chained promises always receive a value/rejection even i...Matthew Wild2018-10-251-22/+23
* util.promise: Export is_promise()Matthew Wild2018-10-251-0/+1
* util.promise: Remove debug print and assertMatthew Wild2018-10-251-1/+0
* util.promise: Add promise.try()Matthew Wild2018-10-181-0/+6
* util.promise: Add a string representationKim Alvefur2018-10-181-0/+4
* util.promise: Add promise:finally()Matthew Wild2018-10-181-0/+6
* util.promise: Some code relocationMatthew Wild2018-10-181-23/+23
* util.promise: Also support automatic resolution by returning a promise from a...Matthew Wild2018-10-181-1/+3
* util.promise: Fix promise.reject() to return a rejected promise, and fix bugg...Matthew Wild2018-10-181-1/+1
* util.promise: ES6-like API for promisesMatthew Wild2018-10-101-0/+133