mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
13 lines
277 B
C#
13 lines
277 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Wabbajack.Common.CSP
|
|
{
|
|
public interface IReadPort<TOut> : ICloseable
|
|
{
|
|
ValueTask<(bool, TOut)> Take(bool onCaller = true);
|
|
(AsyncResult, TOut) Take(Handler<Action<bool, TOut>> handler);
|
|
|
|
}
|
|
}
|