Skip to content

Commit

Permalink
Adding composed selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Kimmel committed Jun 24, 2020
1 parent 1a0c5f5 commit c44578c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,15 @@ export const graphableProcesses = composeSelectors(
dataSelectors.graphableProcesses
);

/**
* Select the `ancestors` and `children` limits that were reached or exceeded
* during the request for the current tree.
*/
export const lineageLimitsReached = composeSelectors(
dataStateSelector,
dataSelectors.limitsReached
);

/**
* Calls the `secondSelector` with the result of the `selector`. Use this when re-exporting a
* concern-specific selector. `selector` should return the concern-specific state.
Expand Down

0 comments on commit c44578c

Please sign in to comment.