RemoteWriteAuthorityTests: subscribe through R3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5a80f2adca
commit
85dbd47dcc
1 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ using System.Runtime.CompilerServices;
|
|||
using System.Threading.Tasks;
|
||||
using GameCult.Caching;
|
||||
using NUnit.Framework;
|
||||
using R3;
|
||||
using static GameCult.Networking.Tests.NetworkingTests;
|
||||
|
||||
namespace GameCult.Networking.Tests
|
||||
|
|
@ -96,7 +97,7 @@ namespace GameCult.Networking.Tests
|
|||
Put = message => put(message, peer),
|
||||
Delete = message => delete(message, peer)
|
||||
};
|
||||
rig.Subscription = R3.ObservableExtensions.Subscribe(database.WatchAllChanges(), change => rig.Published.Add(change));
|
||||
rig.Subscription = database.WatchAllChanges().Subscribe(change => rig.Published.Add(change));
|
||||
return rig;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue