Make runtime catalog a typed cached authority
This commit is contained in:
parent
46bfd7d241
commit
1747a8788e
10 changed files with 86 additions and 12 deletions
|
|
@ -54,7 +54,8 @@ public static class AetheriaEveCommandBridge
|
|||
switch (command.Kind)
|
||||
{
|
||||
case AetheriaRuntimeEveCommandKind.CatalogRefresh:
|
||||
var catalog = await node.RuntimeCatalog().LatestAsync().ConfigureAwait(false);
|
||||
await node.FlushAsync().ConfigureAwait(false);
|
||||
var catalog = await node.RefreshRuntimeCatalogAsync().ConfigureAwait(false);
|
||||
await node.MutableDocument<EveSurfaceDocument>(AetheriaStateNode.CatalogSurfaceKey)
|
||||
.ReplaceAsync(AetheriaEveSurfaceDocuments.BuildCatalogSurface(catalog, command.IssuedAtUtc))
|
||||
.ConfigureAwait(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue