export default Ember.Component.extend({
background: Ember.inject.service(),
actions: {
something() {
this.get("background").request("some.job.name", { args }).then(response => {
// do something with the response
});
}
}
});
import BackgroundService from 'Ember-firebase-background-queue/services/background';
export default BackgroundService.extend({
firebaseApp: "my-app", // the firebase app to use
debug: true // display debug logging
});
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.