예제 #1
0
 /// <summary>
 /// Runs the event loop in specified mode.
 /// </summary>
 /// <param name="mode">Loop run mode.</param>
 /// <returns>Run status (depends on specified mode).</returns>
 public int Run(UvLoopRunMode mode = UvLoopRunMode.RunDefault)
 {
     this.EnsureCallingThread();
     return(Libuv.EnsureSuccess(Libuv.uv_run(this, mode)));
 }