Files
node/test/parallel
Trevor Norris 5d34c81a5c async_wrap: allow some hooks to be optional
Only enforce that the init callback is passed to setupHooks(). The
remaining hooks can be optionally passed.

Throw if async_wrap.enable() runs before setting the init callback or if
setupHooks() is called while async wrap is enabled.

Add test to verify calls throw appropriately.

PR-URL: https://github.com/nodejs/node/pull/3461
Reviewed-By: Fedor Indutny <fedor@indutny.com>
2015-11-07 18:26:12 +11:00
..
2015-05-19 21:21:27 +02:00
2015-05-19 21:21:27 +02:00
2015-08-20 20:16:47 +02:00
2015-05-19 21:21:27 +02:00
2015-05-19 21:21:27 +02:00
2015-05-19 21:21:27 +02:00
2015-05-19 21:21:27 +02:00
2015-05-19 21:21:27 +02:00
2015-06-05 22:58:14 -04:00
2015-06-05 22:58:14 -04:00
2015-05-19 21:21:27 +02:00
2015-10-29 13:16:34 +11:00
2015-10-09 14:45:47 -07:00
2015-05-19 21:21:27 +02:00
2015-08-23 17:59:43 -04:00
2015-08-04 11:56:11 -07:00
2015-06-15 16:37:37 +02:00