Design an AsyncLibrary: register tasks with dependencies, then run them so that each starts only after the tasks it depends on.
Design an AsyncLibrary: register tasks with dependencies, then run them so that each starts only after the tasks it depends on.
Opens with the full question.