3
0
mirror of https://github.com/britzl/monarch.git synced 2025-06-27 02:17:53 +02:00

Log when monarch is busy

This commit is contained in:
Björn Ritzl 2018-06-21 11:30:17 +02:00
parent f590c75b9e
commit 5ee6ea5982

View File

@ -399,6 +399,7 @@ end
function M.show(id, options, data, cb)
assert(id, "You must provide a screen id")
if M.is_busy() then
log("show() monarch is busy, ignoring request")
return false
end
@ -457,6 +458,7 @@ end
-- @return true if successfully going back, false if busy performing another operation
function M.back(data, cb)
if M.is_busy() then
log("back() monarch is busy, ignoring request")
return false
end