UNPKG

allex_entrypointservice

Version:
18 lines (15 loc) 515 B
function createServiceSink(execlib, ParentSink) { 'use strict'; if(!ParentSink){ ParentSink = execlib.execSuite.registry.get('.').SinkMap.get('user'); } function ServiceSink(prophash, client) { ParentSink.call(this, prophash, client); } ParentSink.inherit(ServiceSink, require('../methoddescriptors/serviceuser')); ServiceSink.prototype.__cleanUp = function() { ParentSink.prototype.__cleanUp.call(this); }; return ServiceSink; } module.exports = createServiceSink;