Move daemon observation onto managed documents
This commit is contained in:
parent
ac860dc21c
commit
6f71c4cd16
6 changed files with 89 additions and 34 deletions
|
|
@ -95,7 +95,11 @@ public sealed class AetheriaDaemonObserver : MonoBehaviour
|
|||
|
||||
private AetheriaRuntimeObservedDaemonState ReadObservedDaemonState()
|
||||
{
|
||||
return ResolveClient().ObserveAsync().GetAwaiter().GetResult();
|
||||
var client = ResolveClient();
|
||||
return AetheriaRuntimeObservedDaemonState
|
||||
.ReadAsync(client.State, client.StatePath)
|
||||
.GetAwaiter()
|
||||
.GetResult();
|
||||
}
|
||||
|
||||
private AetheriaClient ResolveClient()
|
||||
|
|
|
|||
Loading…
Reference in a new issue