Skip to content

Update hybrid compute_prf_for_inputs to return a TryStream #1424

@eriktaubeneck

Description

@eriktaubeneck

Currently compute_prf_for_inputs for the hybrid protocol returns a Result<Vec<_>, Error>. The function itself is async already, so we should be able to update it to return a Result<TryStream<_>>. This will then allow us to use the existing reshard_try_stream function that exists, and start resharding reports immediately after OPRF is computed, rather than waiting for all of them.

cc @akoshelev

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions