Skip to content

Search backend: extract eventWriter

Warren Gifford requested to merge backend-integration/cc/extract-event-writer into main

Created by: camdencheek

This creates a new type eventWriter that wraps streamhttp.Writer with typed methods. I think this is preferable to the jumble of closures we currently have, and it will also make it easier for me to continue refactoring this in preparation for extending the API with chunk matches.

Test plan

Unit tests + backend integration tests + manual smoke tests

Merge request reports

Loading