Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion node-candle module for callbacks that are freed either by resolving or timing out
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jason Brumwell  
View profile  
 More options Nov 10 2012, 10:09 am
From: Jason Brumwell <jason.brumw...@gmail.com>
Date: Sat, 10 Nov 2012 07:09:28 -0800 (PST)
Local: Sat, Nov 10 2012 10:09 am
Subject: Re: [ANN] node-candle module for callbacks that are freed either by resolving or timing out

@Alexey great work on candle, I was looking for something like this for a
project and it had the feature set I needed. The api just didn't feel right
for me, and when I spec'd out how I would write it, it was very close to
cb, so I spent a couple of hours adding the feaures it lacked.

I wanted to also thank you for creating that table, it outlined a couple of
features that I hadn't thought of but could definitely make use of.

On Wednesday, October 31, 2012 7:48:56 AM UTC-4, Alexey Kupershtokh wrote:

> Here it is: https://github.com/AlexeyKupershtokh/node-candle

> it's similar to:
> https://github.com/coolaj86/futures/tree/v2.0/future
> and
> https://github.com/temsa/addTimeout
> to some extent, except that the callbacks are able to free in my case
> allowing to avoid leaks.

> As an yet another example, if you use a callback wrapped by
> addTimeout(timeout, cb) or future.once(cb).setTimeout(timeout) as an ACK
> callback for a socket.io request that is never acknowledged, this wrapepd
> callback would exist till the socket is disconnected.

> Any response is highly appreciated.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.