Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for async generateBid() #224

Open
maciejkowalczyk opened this issue Sep 21, 2021 · 1 comment
Open

Support for async generateBid() #224

maciejkowalczyk opened this issue Sep 21, 2021 · 1 comment
Labels
Non-breaking Feature Request Feature request for functionality unlikely to break backwards compatibility

Comments

@maciejkowalczyk
Copy link

maciejkowalczyk commented Sep 21, 2021

Current FLEDGE design doc does not explicitly allow returning a Promise from generateBid().

Asynchronous functions, however, are used by some popular tools like TensorflowJS and WebAssembly which might be useful in bidding functions implementation.

It seems some implementations already do support Promises whilst others don't.

How about explicitly allowing returning a Promise from generateBid()?

@michaelkleber
Copy link
Collaborator

Right now we don't support any async operations inside the worklets. We may reconsider this in the future, but we need to pay careful attention to these workers using side-channel attacks to exfiltrate information to the publisher page that is supposed to stay private, so allowing async operations in this environment would be tricky.

@JensenPaul JensenPaul added the Non-breaking Feature Request Feature request for functionality unlikely to break backwards compatibility label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Non-breaking Feature Request Feature request for functionality unlikely to break backwards compatibility
Projects
None yet
Development

No branches or pull requests

3 participants