Skip to content

Instantly share code, notes, and snippets.

@jenweber
jenweber / my-octane-component.js
Last active May 27, 2021 16:08
How to use Ember Concurrency with Octane
// Octane
import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import { task } from 'ember-concurrency';
export default class MyOctaneComponent extends Component{
@tracked status = null
@(task(function * () {