How do you get instance from PreloadAsync

so I’m trying to use Preload async for something in my game. I want to get the instance from what’s being loaded and print it to my output. Is this possible? This is my code so far.

game:GetService("ContentProvider"):PreloadAsync({workspace}, function(assetId, loaded)
	print(assetId, loaded)
end)

thansk

Try this:

--//Services
local ContentProvider = game:GetService("ContentProvider")

--//Controls
local assets = workspace:GetChildren()
local assetNumber = 0

--//Functions
ContentProvider:PreloadAsync(assets, function()
	assetNumber += 1
	
	print("Loaded", assets[assetNumber].Name)
end)

I keep getting this error:

 attempt to index nil with 'Name'