Move hot bodies off snapshot state

This commit is contained in:
Meta Vens 2026-07-19 13:57:06 +01:00
commit 091200c09d
12 changed files with 643 additions and 364 deletions

View file

@ -108,6 +108,20 @@ namespace GameCult.Mesh
options);
}
/// <summary>Creates a direct body provider over this client's reusable negotiated session owner.</summary>
public CultMeshSessionBodyProvider BodyProvider(
string providerId,
string endpointId,
CultMeshSessionBodyProviderOptions? options = null)
{
ThrowIfDisposed();
return new CultMeshSessionBodyProvider(
providerId,
_sessions,
CultMeshEndpointId.Parse(endpointId),
options);
}
/// <summary>Opens one live typed document by stable provider identity and record key.</summary>
public async Task<CultMeshDocumentHandle<TDocument>> DocumentAsync<TDocument>(
string endpointId,