Skip to content
#

async

Here are 3,267 public repositories matching this topic...

slikts
slikts commented Sep 12, 2018

Chapter in question: https://github.com/getify/You-Dont-Know-JS/blob/master/es6%20%26%20beyond/ch2.md#template-literals

The suggestion seems to be that the template literals would be all about strings; there's only examples that result in strings, and phrases like "final string value" and "generating the string from the literal" are used in what should be a general context, but the tag function

ava
novemberborn
novemberborn commented Feb 16, 2020

For historical reasons, the expectations object passed to t.throws() and t.throwsAsync() was not allowed to be undefined.

Now that we've simplified these assertions, we should allow expectations to be both undefined and null. See here:

https://github.com/avajs/ava/blob/55a3649000611900ba6dfbf94faefa6372a70e79/lib/assert.js#L76

This will cause some of our tests to fail, so th

moon0326
moon0326 commented Aug 29, 2018

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.

read Chinese and English documentation

  1. What did you expect to see?

I expected to find best practice for production usage

  1. What did you see instead?

nothing

  1. What version of Swoole are you using (php --ri swoole)?

latest.

fastapi
webknjaz
webknjaz commented Nov 30, 2019

Long story short

I've been using low-level machinery exposed by aiohttp for my framework.
When I learned about handle_signals=True I started testing it and it turned out that my process always exited with return code 1 on SIGTERM and SIGINT.

This was confusing and I thought that it's a bug. But then, after diving into the code deeper, I realized that with this option enabled, aioht

ktor
eMZet-zz
eMZet-zz commented Feb 6, 2020

Subsystem
Kotlin multiplatform library: ktor-client-logging:1.3.0

Is your feature request related to a problem? Please describe.
Problem: not able to filter calls to be logged. All calls are being logged by default.

Describe the solution you'd like
Add a filter option in Logging configuration block (this solution is available on Android in CallLogging feature, but it is absent

Conight
Conight commented Jun 22, 2018

here is official code about how to use components
url: https://docs.vibora.io/docs/components

from vibora import Vibora, Response
from vibora import Route
​
app = Vibora()
​
@app.route('/')
async def home(request: Request)
    current_route = request.get_component(Route)
    return Response(current_route.pattern.encode())

and i think following is correct

fr
denesb
denesb commented Dec 16, 2019

Memory management in a seastar application is a very important topic, as seastar applications are usually long running server applications that want to maximize the usage of memory as well as be resilient to memory fragmentation.
Add a section on this to the docs/tutorial.md based on the lessons we learned at ScyllaDB. In a nutshell: when large buffers are needed prefer storing data in a chunke

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

adamchainz
adamchainz commented Dec 20, 2019

The "routing" docs page doesn't mention that Route() is for HTTP only and WebSocketRoute() is required for websocket endpoints. I found WebSocketRoute through examples on other pages but it woudl be good if it was fully described on the "routing" page.

cocktail18
cocktail18 commented Aug 28, 2019

I got io.vertx.core.VertxException: java.lang.NullPointerException when i run sync-examples

  • branch : master
  • java sdk: java: 11.0.3
  • log:
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations wil
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

Improve this page

Add a description, image, and links to the async 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 topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.