internal static extern int uv_run(IntPtr handle, Uv_run_mode mode);
/// <summary> /// Runs the loop with the given mode. If no parameter is given, it will /// run in default mode. /// </summary> /// <param name="mode">The mode to run the loop in.</param> internal void Run(Uv_run_mode mode = Uv_run_mode.UV_RUN_DEFAULT) { IsAllocated(); Native.uv_run(LoopPointer, mode); }