This is not GitHub.com

Like what you see? Install OctoLinker now!

Skip to content
#

async

Here are 2,951 public repositories matching this topic...

BehindTheMath
BehindTheMath commented Sep 8, 2019

I discovered after some trial and error that while thenable objects are not supported out of the box, they are supported by async.asyncify(), since it checks for .then() instead of if it's an instance of a Promise. This is an example of a situation where you would need to use async.asyncify() even in an environment that natively supports async functions.

I came across this when using th

ava
Arfey
Arfey commented Oct 3, 2019

Add in documentation part (maybe into tutorial) where explaining why all connection, settings and etс, we add to the instance of application.

example:

async def init_pg(app):
    conf = app['config']['postgres']
    engine = await aiopg.sa.create_engine(
        database=conf['database'],
        user=conf['user'],
        password=conf['password'],
        host=conf['host']
ktor
saschpe
saschpe commented Aug 28, 2019

Subsystem
Locations

Is your feature request related to a problem? Please describe.
When writing a multiplatform frontend (i.e. Android, iOS) using ktor-client, one has to use strings for get() / update() / delete() calls to a (Ktor-based) backend. This is tedious and error-prone and replicates what had to tbe done for the backend.

Describe the solution you'd like
ktor-location

CodiMech25
CodiMech25 commented Jul 26, 2018

So, in the last 3-4 hours i was searching for a memory leak in my app. After a complete code-review of my application code i decided to make a new simple app built on Ratchet WS server and see, if the problem persists. And it did!

The problem was, that whenever i created a WS connection, the connection class instances built in the background of the Ratchet were not destroyed! So on every ne

Bilge
Bilge commented Mar 24, 2018

Trying to learn Amp is difficult for someone new to coroutines and async in the context of PHP. Although I appreciate the work that has been done on the documentation so far, I still find it lacking for giving good background to the topic and its use.

For me, it has been helpful to start thinking about the "async context". It seems to me that in Amp, in order to do anything with async you must

You can’t perform that action at this time.