pub(crate) async fn encode_subject_timed(
state: &TransportState,
subject: &Subject,
review: bool,
) -> Result<(Value, OpenTimings)>Expand description
encode_subject, carrying the session’s own open timings.
Split from the plain encode so the thirty readers that want only the value keep their call: a session’s timeline is the open path’s own business, and it is the only arm that fills one.
review is the review page’s own read: it refreshes the branch diff’s
base and pins the stats and content reads to the sha that refresh found.
Every other read serves what the stores hold, so a record read never waits
on the network.