Skip to content

Commit

Permalink
feat: enable executeWithEvents method in RelayNetworkLayer class
Browse files Browse the repository at this point in the history
  • Loading branch information
nodkz committed Sep 19, 2018
1 parent a0167ed commit f0df76c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/RelayNetworkLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default class RelayNetworkLayer {
_rawMiddlewares: MiddlewareRaw[];
_middlewaresSync: RNLExecuteFunction[];
execute: RNLExecuteFunction;
executeWithEvents: any;
+fetchFn: FetchFunction;
+subscribeFn: ?SubscribeFunction;
+noThrow: boolean;
Expand Down Expand Up @@ -77,5 +78,6 @@ export default class RelayNetworkLayer {

const network = Network.create(this.fetchFn, this.subscribeFn);
this.execute = network.execute;
this.executeWithEvents = network.executeWithEvents;
}
}

0 comments on commit f0df76c

Please sign in to comment.