docs(review): say why the review worker's recorder is a lambda

This commit is contained in:
Vito Sansevero
2026-11-20 09:13:16 -08:00
parent a08830512c
commit 7a871ae58f
+2
View File
@@ -594,6 +594,8 @@ class ReviewRecordingMixin:
worker = getattr(self, "_review_recorder_worker", None)
if worker is None:
worker = ReviewWorker(
# Late-bound on purpose: a record_review_file
# replaced after the worker exists still runs.
lambda path: self.record_review_file(path),
self._review_admitted,
self.logger,