@dillonkearns/elm-graphql
Version:
<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">
3 lines (2 loc) • 755 B
JavaScript
import _newArrowCheck from"babel-runtime/helpers/newArrowCheck";import{hasIn,map}from"@jumpn/utils-composite";var _this$1=void 0,find=function(r,e,n){return _newArrowCheck(this,_this$1),r.find(hasIn([e],n))}.bind(void 0),_this=void 0,createEventHandler=function(r,e){return _newArrowCheck(this,_this),function(n){return _newArrowCheck(this,_this),function(){for(var i=arguments.length,t=Array(i),o=0;o<i;o++)t[o]=arguments[o];_newArrowCheck(this,_this);var h=find(r.notifiers,"request",e);h&&n.apply(void 0,[r,h].concat(t))}.bind(this)}.bind(this)}.bind(void 0),createPushHandler=function(r,e,n){return _newArrowCheck(this,_this),map(createEventHandler(e,n),r)}.bind(void 0);export default createPushHandler;
//# sourceMappingURL=createPushHandler.js.map