Merge nucleic/warm-north-vole-pf37 into dev
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using NucleicProtocol.Interop;
|
||||
|
||||
namespace NucleicApp.Services;
|
||||
|
||||
public static class RendezvousFile
|
||||
{
|
||||
public static async Task<HostdRendezvous> ReadAsync(
|
||||
string path, CancellationToken cancellationToken = default)
|
||||
{
|
||||
var json = await File.ReadAllTextAsync(path, cancellationToken).ConfigureAwait(false);
|
||||
return ProtocolJson.DeserializeRendezvous(json);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user