4.0.3 • Published 4 months ago

ember-concurrency v4.0.3

Weekly downloads
130,984
License
MIT
Repository
github
Last release
4 months ago

ember-concurrency

Build Status NPM Ember Observer Score Ember Version

Improved concurrency primitives for Ember.js. Documentation can be found here.

Installation

ember-concurrency is an ember-cli addon. You can install it via:

ember install ember-concurrency

Configure Babel Transform

Ember Concurrency requires the use of a Babel Transform to convert tasks in the "async-arrow" notation (e.g. fooTask = task(async () => { /*...*/ }) into generator functions. Since Ember Concurrency 4.0.0+ is an Embroider V2 Addon, this Babel transform needs to be configured on the consuming application or addon.

// in app ember-cli-build.js

const app = new EmberApp(defaults, {
  // ...
  babel: {
    plugins: [
      // ... any other plugins
      require.resolve("ember-concurrency/async-arrow-task-transform"),

      // NOTE: put any code coverage plugins last, after the transform.
    ],
  }
});

// in V1 addon index.js

// ...
options: {
  babel: {
    plugins: [
      require.resolve('ember-concurrency/async-arrow-task-transform'),
    ],
  },
},

// in V2 addon babel.config.json
{
  "plugins": [
    [
      // ... any other plugins
    "ember-concurrency/async-arrow-task-transform"
  ]
}

See the test application for an example.

Documentation

The ember-concurrency documentation site is an ember-cli app with interactive examples powered by ember-concurrency. It runs from ember-concurrency's test app.

Problems?

Contributing

See the Contributing guide for details.

ember-power-select-f2@everything-registry/sub-chunk-1576jobs-widget@appuniversum/ember-appuniversum@cardstack/search@cardstack/tools@cardstack/ui-components@cardstack/workflow@cardstack/routing@cardstack/github-auth@cardstack/mobiledoc@cardstack/mock-auth@cardstack/data@cardstack/drupal-auth@cardstack/auth0@choiceform/os-client-ui@choiceform/ui-lottie@cenchat/elements@centerforopenscience/ember-osf@abcum/ember-pdfjs@abcum/ember-gridlist@abcum/ember-bigdata@boundless-inc/ember-bootstrap@bennerinformatics/ember-fw@bennerinformatics/ember-fw-aclzy-ember-power-select@hashicorp/consul-ui-toolkit@icarusworks/ember-power-select@fleetbase/ember-core@fleetbase/ember-ui@gavant/ember-power-select-infinity@freshworks/ember-sequential-render@infinitebrahmanuniverse/nolb-ember-co@lblod/ember-jobs-dashboard-engine@lblod/ember-rdfa-editor-lblod-plugins@lblod/ember-rdfa-editor-standard-template-plugin@lblod/ember-contenteditable-editor@lblod/ember-semantic-forms@lblod/ember-submission-form-fields@lblod/ember-vo-mu-file-upload@lblod/ember-rdfa-editor-gemeenteraadsleden-aanstelling-plugin@lipagas/ember-core@movable/fluid@myorders/ember-core@myorders/ember-ui@neighborly/ui@evocount/ember-model-select@eflexsystems/ember-cli-new-version@eflexsystems/ember-cli-wizard@eflexsystems/ember-model-select@eflexsystems/ember-simple-auth-oidc@projectcaluma/ember-form@projectcaluma/ember-form-builder@projectcaluma/ember-workflow@projectcaluma/ember-analytics@projectcaluma/ember-core@projectcaluma/ember-distribution@queertangocollective/ui@nsf-open/ember-ui-foundation@smithadifd/epc-cssnavi-reportsnavi-dashboardsnavi-corenypr-account-settingsnypr-design-systemilios-commonguidemaker-default-templateguidemaker-ember-locale-templateguidemaker-ember-templatelabs-ember-search@wildland-labs/ember-bootstrap-controls@triptyk/ember-input@triptyk/ember-input-validation@trusted-american/design-system@vinli/vinli-ui@yavin/c3@yavin/perspective@zestia/ember-expander@zestia/ember-select-box@surkus/ember-cli-loadifyadmin-engine-addonaffinity-enginecardstack-auth0cardstack-cmscardstack-editorceleri-ember-coreceleri-ember-uicelerichain-ember-corcelerichain-ember-corecelerichain-ember-uicelerichain-ember-uiicarbon-components-emberciena-devops-testbedcv-ember-corecv-ember-uicvf-ember-corebs-sidenaveflex-ember-bootstrapeflex-ember-data-copyableeflex-ember-power-select
4.0.3

4 months ago

4.0.2

1 year ago

4.0.1

1 year ago

4.0.0

1 year ago

4.0.0-beta.4

1 year ago

4.0.0-beta.3

1 year ago

4.0.0-beta.2

1 year ago

4.0.0-beta.1

1 year ago

4.0.0-beta.0

1 year ago

3.1.1

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

2.3.0

3 years ago

2.3.2

3 years ago

2.3.1

3 years ago

2.3.4

3 years ago

2.3.3

3 years ago

2.3.6

3 years ago

2.3.5

3 years ago

2.3.7

3 years ago

2.2.1

3 years ago

2.2.0

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

2.0.0-rc.2

4 years ago

2.0.0-rc.1

4 years ago

2.0.0-beta.2

5 years ago

2.0.0-beta.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

2.0.0-alpha.0

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.10.1

6 years ago

0.10.0

6 years ago

0.9.0

6 years ago

0.8.27

6 years ago

0.8.26

6 years ago

0.8.25

6 years ago

0.8.24

6 years ago

0.8.23

7 years ago

0.8.22

7 years ago

0.8.21

7 years ago

0.8.20

7 years ago

0.8.19

7 years ago

0.8.18

7 years ago

0.8.17

7 years ago

0.8.16

7 years ago

0.8.15

7 years ago

0.8.14

7 years ago

0.8.13

7 years ago

0.8.12

8 years ago

0.8.11

8 years ago

0.8.10

8 years ago

0.8.9

8 years ago

0.8.8

8 years ago

0.8.7

8 years ago

0.8.6

8 years ago

0.8.5

8 years ago

0.8.4

8 years ago

0.8.3

8 years ago

0.8.2

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago

0.0.0-next5

8 years ago

0.0.0-next4

8 years ago

0.0.0-next3

8 years ago

0.7.19

8 years ago

0.7.18

8 years ago

0.0.0-next2

8 years ago

0.0.0-next1

8 years ago

0.0.0-next0

8 years ago

0.7.17

8 years ago

0.7.16

8 years ago

0.0.0-sync2

9 years ago

0.0.0-sync

9 years ago

0.0.0-tof10

9 years ago

0.0.0-tof9

9 years ago

0.0.1-tof1

9 years ago

0.7.15

9 years ago

0.7.14

9 years ago

0.7.13

9 years ago

0.7.12

9 years ago

0.7.11

9 years ago

0.7.10

9 years ago

0.7.9

9 years ago

0.7.8

9 years ago

0.7.7

9 years ago

0.7.6

9 years ago

0.7.5

9 years ago

0.7.4

9 years ago

0.7.3

9 years ago

0.7.2

9 years ago

0.7.1

9 years ago

0.7.0

9 years ago

0.6.3

9 years ago

0.6.2

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.17

9 years ago

0.5.16

9 years ago

0.5.15

9 years ago

0.5.14

9 years ago

0.5.13

9 years ago

0.5.12

9 years ago

0.5.11

9 years ago

0.5.10

9 years ago

0.5.9

9 years ago

0.5.8

9 years ago

0.5.7

9 years ago

0.5.6

9 years ago

0.5.5

9 years ago

0.5.4

9 years ago

0.5.3

9 years ago

0.5.2

9 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.7

9 years ago

0.4.6

9 years ago

0.4.5

9 years ago

0.4.4

9 years ago

0.4.3

9 years ago

0.4.2

9 years ago

0.1.13

9 years ago

0.1.12

9 years ago