Re: [nodejs] How to properly pass Local as function param?

Sun, 11 Nov 2012 19:19:35 -0800

On Mon, Nov 12, 2012 at 4:16 AM, Ryan Cole <[email protected]> wrote:
> Ok awesome, thanks for the reads. Also, just to deliberately ask, what about
> in async function calls? I'm assuming I'd not use Local<Object>? For
> example, if I were using the baton pattern, would my baton struct use a
> Local<Object>? I've seen examples for callback functions that use
> Persistent<Function>, so that makes me think I'd use Persistent<Object> to
> cross those function calls?

Yes, Persistent<Object>.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to