Esempio n. 1
0
func (timer *Timer) Again() (err error) {
	r := C.uv_timer_again(timer.t)
	if r != 0 {
		return timer.GetLoop().LastError().Error()
	}
	return nil
}
Esempio n. 2
0
File: timer.go Progetto: zchee/gouv
func (timer *Timer) Again() (err error) {
	r := C.uv_timer_again(timer.t)
	if r != 0 {
		return &Error{int(r)}
	}
	return nil
}