domain: add arguments for the function in domain.run() by micnic · Pull Request #15 · nodejs/node

@micnic changed the title add arguments for the function in domain.run() domain: add arguments for the function in domain.run()

Dec 3, 2014

@rvagg rvagg mentioned this pull request

Dec 10, 2014

@micnic

Adds the feature to define arguments for the function called in
domain.run(), this is supposed to be useful when a function is called from
another context and some values from the current context are needed as
arguments, it's similar to the callback from setTimeout or setInterval.

This was referenced

Mar 18, 2020

This was referenced

May 13, 2022