Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
import { task, timeout } from 'ember-concurrency';
export default Ember.Component.extend({
value: undefined,
timeout: 1000,
_updateValue: task(function*(value) {
this.set('value', value);
yield timeout(this.get('timeout'));