This is not GitHub.com

Like what you see? Install OctoLinker now!

Skip to content
#

async-await

Here are 1,023 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

Ppjet6
Ppjet6 commented Nov 10, 2019

Steps to reproduce

use futures::channel::mpsc; // 1
use futures::sink::SinkExt;
use std::sync::Arc;

type Sender<T> = mpsc::UnboundedSender<T>; // 2
type Receiver<T> = 
actionhero
mfvargo
mfvargo commented Jan 22, 2021

We had an issue where an api user was using the incorrect parameters on an API call. Having this feature would have made the API fail instead of proceeding. The bug would been found earlier.

I can see where this would be a hassle on many cases, But it would be nice for new projects.

I suppose it could be a global config item that could be overridden at the individual action level:

For

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 Jan 23, 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