UNPKG

executor-service

Version:

An "ExecutorService" implementation closely modeled after its java counterpart. Provides child-process executors to mimic multithreaded executors. Implements "createExecutor(module_path_or_local_fn, [module_or_fn_constructor_args]), and "createExecutorPoo

7 lines 123 B
module.exports = function ( config ) { return { ping: function (ct, cb) { cb(null, "pong " + ct ) } } }