aboutsummaryrefslogtreecommitdiffstats
path: root/util
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
commitdf8f2fd6c58ea7042d701701f364dd864832dc4a (patch)
treedeca6cdaed356adada0617582c67cab009139408 /util
parentcd0759dafc7c7fe2ff31ddf049695f361007e996 (diff)
downloadprosody-df8f2fd6c58ea7042d701701f364dd864832dc4a.tar.gz
prosody-df8f2fd6c58ea7042d701701f364dd864832dc4a.zip
util.promise: Export is_promise()
Diffstat (limited to 'util')
-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;
}