feat(network): use Rx.NET to refactor message handlers

This rephrases network messages as observables of data, which
handlers subscribe to in order to receive strongly-typed data.
This breaks up the massive network message handler into an
event stream, which should make it more maintainable in the
future.
This commit is contained in:
karashiiro 2023-02-15 09:26:32 -08:00
parent 5a7f509941
commit a5f0fe422a
3 changed files with 393 additions and 246 deletions

View file

@ -82,6 +82,7 @@
</PackageReference>
<PackageReference Include="System.Collections.Immutable" Version="7.0.0" />
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
<PackageReference Include="System.Reactive" Version="5.0.0" />
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="7.0.0" />
<PackageReference Include="System.Resources.Extensions" Version="7.0.0" />
</ItemGroup>