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
commitef2ab2370018831241e4e8a42b29e1d55ad9c16f (patch)
treedeca6cdaed356adada0617582c67cab009139408
parent5b895a2d9fb27dbefdafae9a0a9f21fa3c4f218e (diff)
downloadprosody-ef2ab2370018831241e4e8a42b29e1d55ad9c16f.tar.gz
prosody-ef2ab2370018831241e4e8a42b29e1d55ad9c16f.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;
}