JD2022-TU1/main/tools/framework/JD.Threading/Dispatch/IMessageLoop.cs

22 lines
No EOL
383 B
C#

using System.Threading;
namespace JD.Threading.Dispatch
{
internal interface IMessageLoop
{
#region Properties
bool InvokeRequired { get; }
#endregion
#region Methods
void Invoke(System.Action action);
void BeginInvoke(System.Action action);
void WaitAndPump(WaitHandle waitHandle);
#endregion
}
}