Check if Callback in Job Queue
ok = jqo:is(func, [argt])
Scans the jqo
for matching func
+ argt
set.
If argt
not present, then checks if any matching func
is queued.
Parameter | Type | Description |
---|---|---|
func |
function | Lua function to call |
argt |
table | Table of arguments to be passed to func |
Returns | Type | Description |
---|---|---|
ok |
boolean | True if exists in the queue |