alt
alt copied to clipboard
[Doc missing] src/store/StoreMixin.js
In the official favourite location source,
class LocationStore {
constructor() {
this.locations = [];
this.errorMessage = null;
this.bindListeners({
handleUpdateLocations: LocationActions.UPDATE_LOCATIONS,
handleFetchLocations: LocationActions.FETCH_LOCATIONS,
handleLocationsFailed: LocationActions.LOCATIONS_FAILED,
setFavorites: LocationActions.FAVORITE_LOCATION
});
this.exportPublicMethods({
getLocation: this.getLocation
});
this.exportAsync(LocationSource);
}
//...
}
"exportAsync" cannot be found anywhere in the documentation.
Documentation exists on github and on the altjs website. It looks like exportAsync
is just an alias for registerAsync
.
That said, it is worth nothing that data sources are actually pending removal from alt core to be moved into their own repository. This move should help make the documentation more visible.
@goatslacker @jdlehman, where is this new data source repository? It's not referenced in the PR.
It doesn't exist yet
any update on this ?