Skip to content

Commit

Permalink
update promise list
Browse files Browse the repository at this point in the history
fixes WICG#1298
  • Loading branch information
patmmccann authored Dec 11, 2024
1 parent 9445d00 commit 4703c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FLEDGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ In the case of a component auction, all `AuctionConfig` parameters for that comp

##### 2.1.1 Providing Signals Asynchronously

The values of some signals (those configured by fields `auctionSignals`, `sellerSignals`, `perBuyerSignals`, `perBuyerTimeouts`, `deprecatedRenderURLReplacements`, and `directFromSellerSignals`) can optionally be provided not as concrete values, but as [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). This permits some parts of the auction, such as loading of scripts and trusted signals, and launching of isolated worklet processes, to overlap the computation (or network retrieval) of those values. The worklet scripts will only see the resolved values; if any such Promise rejects the auction will be aborted (unless it managed to fail already or get otherwise aborted anyway).
The values of some signals (those configured by fields `serverResponse`, `auctionSignals`, `sellerSignals`, `perBuyerSignals`, `perBuyerTimeouts`, `perBuyerCumulativeTimeouts`, `perBuyerCurrencies`, `deprecatedRenderURLReplacements`, `additionalBids`, `resolveToConfig`, `directFromSellerSignals`, and `directFromSellerSignalsHeaderAdSlot`) can optionally be provided not as concrete values, but as [Promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). This permits some parts of the auction, such as loading of scripts and trusted signals, and launching of isolated worklet processes, to overlap the computation (or network retrieval) of those values. The worklet scripts will only see the resolved values; if any such Promise rejects the auction will be aborted (unless it managed to fail already or get otherwise aborted anyway).

##### 2.1.2 Seller Security Considerations

Expand Down

0 comments on commit 4703c60

Please sign in to comment.