finally wrote a funcitonal good test!!!!

added undownloadedemojisbefore unused atm
using a withThrowingDiscardingTaskGroup with a task limit
    task limit: max tasks is cores-1
    every tiem a task is added taskcount+=1
    every tiem it finishes taskcount -= 1
    if active tasks> maxtasks wait until i > what it was before
        reduce activetasks by one

deleting images in pass 2
guard that it was downloaded before
basic async cos i cba atp
doThing wiht inout i to increment
    itll download the image and make sure its not already downloaded etc
This commit is contained in:
neon443
2025-10-30 23:15:18 +00:00
parent ff123811a0
commit be22370ec0
2 changed files with 40 additions and 25 deletions

View File

@@ -740,7 +740,7 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 8JGND254B7;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
IPHONEOS_DEPLOYMENT_TARGET = 17;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.neon443.StickerSlackTests;
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -763,7 +763,7 @@
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 8JGND254B7;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 26.0;
IPHONEOS_DEPLOYMENT_TARGET = 17;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.neon443.StickerSlackTests;
PRODUCT_NAME = "$(TARGET_NAME)";