Skip to content
#

async-await

Here are 1,178 public repositories matching this topic...

njsmith
njsmith commented May 18, 2020

What should happen if deliver_cancel raises an exception? In the current implementation, the shielded cancel scope will prevent it from propagating until the process exits, which might take a while if the crash occurred before signaling the process in any way. Maybe on exception from a user-specified deliver_cancel we should call the default deliver_cancel to kill the process? Or just kill() since

actionhero
danijeld
danijeld commented May 11, 2021

Task export inconsistent with actions

In JS mode, exporting tasks as module.exports = class SomeTask causes AH to throw an error when trying to execute it ' task not found' but exporting as exports.someTask = SomeTask works. Actions work either way.

From @evantahler:
actions have this line https://github.com/actionhero/actionhero/blob/v24.0.4/src/initializers/actions.ts#L65-L67
where

This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API). Demo of frontend in VueJS here: https://github.com/davellanedam/vue-skeleton-mvp

  • Updated Aug 4, 2021
  • JavaScript

Improve this page

Add a description, image, and links to the async-await topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the async-await topic, visit your repo's landing page and select "manage topics."

Learn more