# How do you import "run" from @ember/runloop?

**URL:** <https://discuss.emberjs.com/t/how-do-you-import-run-from-ember-runloop/14050>\
**Category:** Uncategorized\
**Created:** [December 19, 2017, 8:16pm UTC](https://discuss.emberjs.com/t/how-do-you-import-run-from-ember-runloop/14050 "2017-12-19T20:16:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvincrespo](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/alvincrespo/32/12625_2.png) [@alvincrespo](https://discuss.emberjs.com/u/alvincrespo)\
**Post date:** [December 19, 2017, 8:16pm UTC](https://discuss.emberjs.com/t/how-do-you-import-run-from-ember-runloop/14050/1 "2017-12-19T20:16:34Z")

</div>

I used to be able to do:

```auto
import run from 'ember-runloop';

```

But I can’t seem to find how to do that with the new imports. Anyone know how I can do that now?

---

<div class="post-metadata">

**Author:** ![rwjblue](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/rwjblue/32/9411_2.png) [@rwjblue](https://discuss.emberjs.com/u/rwjblue)\
**Post date:** [December 19, 2017, 8:43pm UTC](https://discuss.emberjs.com/t/how-do-you-import-run-from-ember-runloop/14050/2 "2017-12-19T20:43:07Z")

</div>

I am still slow to internalize all the new module import paths too, I typically use [GitHub - ember-cli/ember-rfc176-data: JSON data for Ember.js RFC #176](https://github.com/ember-cli/ember-rfc176-data#new-modules-to-globals) for a quick cross reference.

---

<div class="post-metadata">

**Author:** ![alvincrespo](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/alvincrespo/32/12625_2.png) [@alvincrespo](https://discuss.emberjs.com/u/alvincrespo)\
**Post date:** [December 19, 2017, 9:06pm UTC](https://discuss.emberjs.com/t/how-do-you-import-run-from-ember-runloop/14050/3 "2017-12-19T21:06:50Z")

</div>

You the man!

![](https://media3.giphy.com/media/ktwCnrcFnBRTO/giphy.gif)

---

<div class="post-metadata">

**Author:** ![acorncom](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/acorncom/32/12198_2.png) [@acorncom](https://discuss.emberjs.com/u/acorncom)\
**Post date:** [January 6, 2018, 3:02pm UTC](https://discuss.emberjs.com/t/how-do-you-import-run-from-ember-runloop/14050/4 "2018-01-06T15:02:46Z")

</div>

Todd also just got the import syntax added to the api docs, so you should be able to see it show up there now … [https://www.emberjs.com/api/ember/2.18/classes/@ember%2Frunloop/methods/run?anchor=run](https://www.emberjs.com/api/ember/2.18/classes/@ember%2Frunloop/methods/run?anchor=run)

---

<div class="post-metadata">

**Author:** ![ef4](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/ef4/32/13470_2.png) [@ef4](https://discuss.emberjs.com/u/ef4)\
**Post date:** [February 20, 2018, 7:14pm UTC](https://discuss.emberjs.com/t/how-do-you-import-run-from-ember-runloop/14050/5 "2018-02-20T19:14:05Z")

</div>

Another way to learn is to make sure your editor is running eslint for you in realtime. The eslint rules provided in recent versions of ember-cli will tell you how to rewrite the old-style into the new style. In Emacs it looks like this:

 ![54%20PM](https://us1.discourse-cdn.com/flex019/uploads/emberjs_public/original/2X/f/f0b1afbc0b928f1d6d0de936c5337f7bff5925e1.png)

When I forget the new thing, I just write the old thing and let eslint tell me the new thing.
