Skip to content

Instantly share code, notes, and snippets.

View GabrielCousin's full-sized avatar
🇪🇺

Gabriel Cousin GabrielCousin

🇪🇺
View GitHub Profile
@GabrielCousin
GabrielCousin / routes.index.js
Last active December 18, 2019 09:34
LoadMore with EConcurrency
import Ember from 'ember';
import { task, timeout } from 'ember-concurrency';
export default Ember.Route.extend({
model() {
this.myTask.perform();
return {
data: this.myTask
};
### Keybase proof
I hereby claim:
* I am gabrielcousin on github.
* I am gabrielcousin (https://keybase.io/gabrielcousin) on keybase.
* I have a public key ASBAtW8iO9gk1loEh0ha0ypOPaIKOZhBlPWIZ9kPxXTxKQo
To claim this, I am signing this object: