Complete the SharedFlow-typed session lanes on close: outboundSends, aggregationUpdates, verificationRequests, metrics (§8) #172
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found while adding the #143 stream-completion test (D89). §8: close() completes all public streams. The Flow-typed lanes (events, accountDataEvents, ephemeralEvents, toDeviceEvents, pushSignals, typedEvents) now complete on the closed signal; the SharedFlow-typed publics cannot complete by type: KatrixSession.outboundSends, aggregationUpdates, verificationRequests, metrics (and the fleet's equivalents, if any). Acceptance: re-type them to Flow (pre-1.0, apiDump), run them through untilClosed(), extend DeviceManagementTest.closeCompletesTheLanes to every public lane; §8 unchanged.