This is not GitHub.com

Like what you see? Install OctoLinker now!

Skip to content
#

async-await

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

taiki-e
taiki-e commented Feb 5, 2021

Most of async-std's stream utilities were written before Stream::size_hint was released and do not implement Stream::size_hint method. This means that async-std's stream utilities may be a bit inefficient than other crates such as futures, tokio-stream, futures-lite, which provide similar utilities.

related: rust-lang/futures-rs#1853, https://github.com/rust-lang/rus

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 May 10, 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