message: Moved function inline for simplicity
diff: @@ -25,12 +25,6 @@ class AsyncStateNavigator extends StateNavigator {
  this.stateNavigator.navigateLink(url, historyAction, history, (stateContext, resumeNavigation) => {
  suspendNavigation(stateContext, () => {
  var asyncNavigator = new AsyncStateNavigator(this.navigationHandler, this.stateNavigator, stateContext);
  - this.suspendNavigation(asyncNavigator, resumeNavigation);
  - })
  - }, currentContext);
  - }
  -
  - private suspendNavigation(asyncNavigator: AsyncStateNavigator, resumeNavigation: () => void) {
  var { oldState, state, data, url, asyncData } = asyncNavigator.stateContext;
  this.navigationHandler.setState(() => (
  { context: { oldState, state, data, asyncData, nextState: null, nextData: {}, stateNavigator: asyncNavigator } }
  @@ -38,6 +32,8 @@ class AsyncStateNavigator extends StateNavigator {
  if (url === this.navigationHandler.state.context.stateNavigator.stateContext.url)
  resumeNavigation();
  });
  + })
  + }, currentContext);
  }
  }
  export default AsyncStateNavigator;
  