On 09/29/2014 12:10 PM, Iñaki Baz Castillo wrote:
> 2014-09-29 11:59 GMT+02:00 Saúl Ibarra Corretgé <[email protected]>:
>> TBH I plan to propose the removal of repeating timers for libuv 2.0.0.
>> There is nothing special about them in libuv, we just rearm them with
>> the 'repeat' value. The user may as well do that himself.
> 
> Removing an API feature due a wrong implementation is fine, but it is
> even better to fix it and keep the feature.
> 
> 

My reason for proposing its removal it's not the implementation, don't
make wild assumptions.

When we ship 1.0.0 there will be an RFC with all ideas for 2.0.0. One
idea that crossed my mind is to remove the timer handle and make it a
request:

int uv_timeout(uv_loop_t* loop, uv_timeout_* timeout, unsigned int
timeout, uv_timeout_cb cb)

But let's not discuss that now, it's not a firm proposal. Yet.

-- 
Saúl Ibarra Corretgé
bettercallsaghul.com


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to