Skip to content

Conversation

@frankmcsherry
Copy link
Member

The Trace trait has a Builder associated type, which is used automatically to build its batches. This PR extracts that type, and allows folks to use whichever builder they like, as long as it satisfies the corresponding constraints (on input and output, generally).

This further unlocks the ability to pick and choose your builder (as with your batcher), in the face of multiple container types.

Copy link
Member

@antiguru antiguru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@frankmcsherry frankmcsherry merged commit cf97c1a into TimelyDataflow:master Dec 6, 2024
7 checks passed
@github-actions github-actions bot mentioned this pull request Dec 6, 2024
@frankmcsherry frankmcsherry deleted the extract_builder branch September 23, 2025 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants