Use this function to retrieve the next call's arguments without returning a response.

Definition

Tuple Peek (void)

Arguments

No arguments

Returns

Returns all of the arguments of the first call on the queue. Values are received over the network in an array of JSON values, so only types transferrable via JSON will be present. This includes nil, numbers, booleans, strings, and tables.

Example

local function shouldStop(isImportant, ...)
    return isImportant and true or false
end

while true do
    if RBXMod.Ready() and shouldStop(RBXMod.Peek()) then
        RBXMod.Yield()
    end
    ...
end