This is a yielding function. When called, it will pause the Lua thread that called the function until a result is ready to be returned, without interrupting other scripts.
Pages object which contains information for all of the current game’s developer products.
The below example would print the name, price, ID, description and icon AssetId for all of the developer products which belong to the current game. It will not work in solo mode unless you set the place’s PlaceId using
/DataModel/SetPlaceIdSetPlaceId in the command bar.
local developerProducts = game:GetService("MarketplaceService"):GetDeveloperProductsAsync():GetCurrentPage() for _, developerProduct in pairs(developerProducts) do for field, value in pairs(developerProduct) do print(field .. ": " .. value) end print(" ") end