Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
export default class CartoDataProvider extends Component {
modelName = 'carto-geojson-feature';
modelId = null;
@keepLatestTask({ retryable: delayRetryPolicy, maxConcurrency: 1 })
findRecordTask = function* () {
return yield, this.modelId);
@computed('modelName', 'modelId')
get taskInstance() {
return this.findRecordTask.perform();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.