UNPKG

allex_entrypointservice

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