feat(app): sample server for sync captures, server-sync and server-conflict screenshots, sync tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
7 files changed
+430
-19
No files matched your search
@@ -70,6 +70,13 @@ public sealed class SyncHost(AppServices services) : ISyncConnector, IAsyncDispo
|
||||
_switch = SwitchAsync(_switch, wanted);
|
||||
}
|
||||
|
||||
/// <summary>Compares now, once the session switch in progress settled; null while signed out.</summary>
|
||||
public async Task<SyncSnapshot?> RefreshAsync(CancellationToken ct = default)
|
||||
{
|
||||
await _switch;
|
||||
return Agent is { } agent ? await agent.RefreshAsync(ct) : null;
|
||||
}
|
||||
|
||||
/// <summary>Compares again soon (an option changed, an edit on this PC).</summary>
|
||||
public void RequestRefresh() => Agent?.RequestRefresh();
|
||||
|
||||
|
||||
Reference in new issue
Block a user