From f0df76c3f5336dce249acec766830b8fd7dfd61f Mon Sep 17 00:00:00 2001 From: nodkz Date: Wed, 19 Sep 2018 21:09:43 +0600 Subject: [PATCH] feat: enable `executeWithEvents` method in RelayNetworkLayer class --- src/RelayNetworkLayer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/RelayNetworkLayer.js b/src/RelayNetworkLayer.js index 47712f0..37e5cec 100644 --- a/src/RelayNetworkLayer.js +++ b/src/RelayNetworkLayer.js @@ -24,6 +24,7 @@ export default class RelayNetworkLayer { _rawMiddlewares: MiddlewareRaw[]; _middlewaresSync: RNLExecuteFunction[]; execute: RNLExecuteFunction; + executeWithEvents: any; +fetchFn: FetchFunction; +subscribeFn: ?SubscribeFunction; +noThrow: boolean; @@ -77,5 +78,6 @@ export default class RelayNetworkLayer { const network = Network.create(this.fetchFn, this.subscribeFn); this.execute = network.execute; + this.executeWithEvents = network.executeWithEvents; } }