diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-10-25 14:19:27 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-10-25 14:19:27 +0100 |
commit | ef2ab2370018831241e4e8a42b29e1d55ad9c16f (patch) | |
tree | deca6cdaed356adada0617582c67cab009139408 | |
parent | 5b895a2d9fb27dbefdafae9a0a9f21fa3c4f218e (diff) | |
download | prosody-ef2ab2370018831241e4e8a42b29e1d55ad9c16f.tar.gz prosody-ef2ab2370018831241e4e8a42b29e1d55ad9c16f.zip |
util.promise: Export is_promise()
-rw-r--r-- | util/promise.lua | 1 |
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; } |