Is nesting Promises bad practice? I am having troubles converting my JS to TS but I don't know how I can refactor something like picrel. The reason for the double Promise.allSettled() is because I wanted to run black box checks in parallel so that each box would check the links inside. The end result would look like this
[
[ 123, [
[ "string", boolean ],
[ "string", boolean ],
[ "string", boolean ]
]
],
[ 456, [
[ "string", boolean ]
]
],
[ 789, [
[ "string", boolean ],
[ "string", boolean ],
[ "string", boolean ],
[ "string", boolean ],
[ "string", boolean ]
]
]
]