aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-10-25 14:19:27 +0100
committerMatthew Wild <mwild1@gmail.com>2018-10-25 14:19:27 +0100
commitc7d9ee0bb860dcb41cccafd02cfcd654ccd4c1d5 (patch)
treedeca6cdaed356adada0617582c67cab009139408
parent9c2ebc29f60128d372268a98723a17dda2c74f47 (diff)
downloadprosody-c7d9ee0bb860dcb41cccafd02cfcd654ccd4c1d5.tar.gz
prosody-c7d9ee0bb860dcb41cccafd02cfcd654ccd4c1d5.zip
util.promise: Export is_promise()
-rw-r--r--util/promise.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/promise.lua b/util/promise.lua
index 3c3cc4df..c0176211 100644
--- a/util/promise.lua
+++ b/util/promise.lua
@@ -147,4 +147,5 @@ return {
all = all;
race = race;
try = try;
+ is_promise = is_promise;
}