feat(browser): stream bounded live session updates (#26)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using FinalFactory.Rendezvous.Contracts;
|
||||
using FinalFactory.Rendezvous.Server.Browser;
|
||||
using FinalFactory.Rendezvous.Server.State;
|
||||
|
||||
namespace FinalFactory.Rendezvous.Tests.State;
|
||||
@@ -24,10 +25,12 @@ internal sealed class EphemeralStateFixture
|
||||
{
|
||||
private int _sequence;
|
||||
|
||||
public EphemeralStateFixture(EphemeralStoreOptions? options = null)
|
||||
public EphemeralStateFixture(
|
||||
EphemeralStoreOptions? options = null,
|
||||
SessionChangeJournal? changes = null)
|
||||
{
|
||||
Clock = new();
|
||||
Store = new(options ?? new EphemeralStoreOptions(), Clock, Clock);
|
||||
Store = new(options ?? new EphemeralStoreOptions(), Clock, Clock, changes);
|
||||
}
|
||||
|
||||
public ManualRendezvousClock Clock { get; }
|
||||
|
||||
Reference in New Issue
Block a user