async
Here are 3,267 public repositories matching this topic...
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
Please answer these questions before submitting your issue. Thanks!
- What did you do? If possible, provide a recipe for reproducing the error.
read Chinese and English documentation
- What did you expect to see?
I expected to find best practice for production usage
- What did you see instead?
nothing
- What version of Swoole are you using (
php --ri swoole)?
latest.
-
Updated
Feb 20, 2020 - JavaScript
Is your feature request related to a problem
Is your feature request related to a problem?
It's still not documented how to do redirections.
The solution you would like
We need a short section in the docs, in the Advanced User Guide, about how to do redirections.
It would have to explain how to use [Starlette's RedirectResponse](https://www.starlette.io/responses/#redirect
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
Documentation is currently published on a per-crate basis, which makes it difficult to find objects from the different crates. It's not always obvious which crate to search in, and newcomers may not be aware of the structure.
The docs at https://docs.rs/actix-web/2.0.0/actix_web currently look like this:
It would be really nice if it looked like this:
It would be great if it were clarified in https://github.com/JetBrains/kotlin-native/blob/master/CONCURRENCY.md that any time an object is referenced by two functions that can change the coroutine context (eg async, launch, withContext, suspending function) that the object will be frozen. It'd be helpful to drive home the point by showing an example where the coroutine is executed on a single thr
The documentation explain that when a job throws an exception, it should be stored as its result and pickled to the caller.
Currently the job.result property returns None as the exception is never stored.
-
Updated
Feb 20, 2020 - Python
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
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
frMemory 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
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
The links on the FAQ page in the wiki still point to the old wiki, which seems to be deprecated.
Stitching API
Opencv provide a Stitching module/API
Bascially, i would like to be able to rewrite stitching_detailed.cpp in javascript
This includes :
- Stitcher class
- Features extractors (already implemented in opencv4nodejs)
- Estimator
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.
Currently in our docs for open_signal_receiver, we have an example of catching SIGHUP and using it to reload the application configuration. While talking to @wgwz today re: python-trio/snekomatic#41, I discovered that this example is maybe not so great, because readers who aren't already steeped in Unix tr
-
Updated
Feb 20, 2020
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
这个库带来怎样的好处和优势?
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
-
Updated
Feb 18, 2020 - JavaScript
Error screen
Steps to reproduce
-
modify ~/.cargo/config to switch registry
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "https://mirrors.ustc.edu.cn/crates.io-index/" -
use
Improve this page
Add a description, image, and links to the async topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the async topic, visit your repo's landing page and select "manage topics."


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