function withEntityRequestState(getSubStatePath) {
    return withRequestState((...args) => [
      "entities",
      entity.name,
      ...getSubStatePath(...args),
    ]);
  }
// same as withRequestState, but with automatic prefix
same as withRequestState, but with automatic prefix
same as withRequestState but with automatic prefix
function withEntityRequestState(getSubStatePath) {
    return withRequestState((...args) => [
      "entities",
      entity.name,
      ...getSubStatePath(...args),
    ]);
  }
function withEntityRequestState ( getSubStatePath ) { return withRequestState ( ( ... args ) => [ "entities" , entity . name , ... getSubStatePath ( ... args ) , ] ) ; }
same as withRequestState, but with automatic prefix
same as withRequestState but with automatic prefix