ALE.EventLoop.Pend C# (CSharp) Method

Pend() public static method

public static Pend ( System.Action evt ) : void
evt System.Action
return void
        public static void Pend(Action evt)
        {
            TaskQueue.Enqueue(evt);
            Start();
        }

Usage Example

Beispiel #1
0
 internal void PendError(string reason)
 {
     foreach (var errorCallback in ErrorCallbacks)
     {
         var callback = errorCallback;
         EventLoop.Pend(() => callback(reason));
     }
 }
All Usage Examples Of ALE.EventLoop::Pend