Skip to content

Conversation

cachemeifyoucan
Copy link
Contributor

Add a new async download API from CASID. This helps build system better schedule the job/remove duplicated downloads, than using an opaque cached_output handle.

Add a new async download API from CASID. This helps build system better schedule the job/remove duplicated downloads, than using an opaque cached_output handle.
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please smoke test

@cachemeifyoucan
Copy link
Contributor Author

ping

/// Asynchronously visits the graph of the object node to ensure it's fully
/// materialized.
class AsyncObjectLoader
: public std::enable_shared_from_this<AsyncObjectLoader> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know about this, neat.

@artemcm
Copy link
Contributor

artemcm commented Nov 28, 2023

Will we test this from the swift-driver repo?

@cachemeifyoucan
Copy link
Contributor Author

cachemeifyoucan commented Nov 28, 2023

Will we test this from the swift-driver repo?

It is wrapped into Swift APIs in swift-driver for build system. Now I am mostly implemented the build system, I can back port some of the use cases into swift-driver tests, yes.

@cachemeifyoucan
Copy link
Contributor Author

Test for new API added here: swiftlang/swift-driver#1491

@cachemeifyoucan cachemeifyoucan merged commit 5ba26d7 into swiftlang:main Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants