| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Worker.Fetch
Description
Buffered mirror artifact downloads under their own byte ceiling. The worker outcome classifies exchange faults for retry or drop.
Synopsis
- fetchArtifactBytesCharged :: (Int -> IO ()) -> Limits -> (Maybe ClientCredential -> Text -> Either UrlFormationError Request) -> RegistryUrl -> WorkerM (Either FetchFault ByteString)
Documentation
fetchArtifactBytesCharged :: (Int -> IO ()) -> Limits -> (Maybe ClientCredential -> Text -> Either UrlFormationError Request) -> RegistryUrl -> WorkerM (Either FetchFault ByteString) Source #
Charge actual buffered source bytes and refuse non-success statuses before integrity verification.