Anyone leveraged New-UDPreloader?


Hi guys, have a scenario where I’m fetching all sorts of data so my dynamic page looks lonely before it returns there data, I see that we have an option to use New-UDPreloader but unsure of how to use, anyone use this? What are others doing for these cases where load times could be 20sec+ of silence for the user?


1 Like


New-UDPreloader is not effective like write-progress in powershell, so its kind off workaround so far but u can use as per the developer example below

if ($Cache:Data -eq $null) {
else {
New-UDChart -Endpoint { $Cache:Data … }



Baybe this will help:

1 Like


Thanks @psott @wsl2001 … I’ll see how to integrate this in my code. I’ll follow up on how that goes. I like the way UDinput uses circular preload button click is triggered, would like to implement the same for when endpoints and any point where data retrieval is being executed would be ideal.