Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

generateBid - query time left #241

@jonasz

Description

@jonasz

Hi,

During the last FLEDGE call we discussed potential approaches to learning how much time is left from within generateBid before a timeout occurs.

As I understand, exposing an accurate timer would introduce certain privacy risks.

One idea proposed was to allow to query whether "at least 3ms is left". An extension of this idea would be to provide a function getApproxTimeLeft(), which returns a lower bound on time left. A potential implementation could return time left minus some random number, or time left rounded down to a multiple of 5ms. Even a very limited version, where we can learn whether there's "at least 1", "at least 5", "at least 25" would be quite useful already.

I'd be curious to hear if that sounds feasible to you.

Best regards,
Jonasz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Non-breaking Feature RequestFeature request for functionality unlikely to break backwards compatibility

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions