18 lines
235 B
C#
18 lines
235 B
C#
|
namespace InnovEnergy.Lib.Channels.V2.Connections;
|
||
|
|
||
|
public interface IConnection
|
||
|
{
|
||
|
Task Open();
|
||
|
void Close();
|
||
|
|
||
|
Boolean IsOpen { get; }
|
||
|
}
|
||
|
|
||
|
|
||
|
public interface IConnection<T> : IConnection
|
||
|
{
|
||
|
new Task<T> Open();
|
||
|
}
|
||
|
|
||
|
|