mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
16 lines
350 B
C#
16 lines
350 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
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);
|
|
|
|
}
|
|
}
|