unsafe public void timer_start(UvTimerHandle handle, uv_timer_cb cb, long timeout, long repeat) { handle.Validate(); ThrowIfErrored(_uv_timer_start(handle, cb, timeout, repeat)); }
unsafe public static extern int uv_timer_start(UvTimerHandle handle,uv_timer_cb cb,long timeout,long repeat);
internal static extern int uv_timer_start(IntPtr timer, uv_timer_cb cb, long after, long repeat);
static extern int uv_timer_start(IntPtr timer, uv_timer_cb callback, ulong timeout, ulong repeat);
public Timer(Loop loop) : base(loop, uv_handle_type.UV_TIMER) { CheckError(Uvi.uv_timer_init(this.Loop.Handle, this.Handle)); _tick = new uv_timer_cb(this.OnTick); }
internal static extern int uv_timer_start(IntPtr timer, uv_timer_cb cb, long after, long repeat); // uv_timer_t*
internal static extern int uv_timer_start(IntPtr handle, uv_timer_cb timer_cb, long timeout, long repeat);