Skip to content
#

async

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

joshuambg
joshuambg commented Jan 13, 2019

Consider this example for map

async.map(['file1','file2','file3'], fs.stat, function(err, results) {
    // results is now an array of stats for each file
});

This basically tells me nothing except syntax. In most cases people aren't going to pass fs.stat. The examples should include use of all possible options. All examples for all functions and methods need to be updated. They

ava
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
kotlinx.coroutines
mlissner
mlissner commented Apr 9, 2019

There's the easy way, which is just to document job.requeue() on the jobs documentation page:

https://github.com/rq/rq/blob/master/rq/job.py#L527

I could be wrong, but I don't think that (super important) method is actually documented anywhere! I found it by searching the Github issues.


And there's the hard way, which would be to provide this information with a full example of u

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

isaaczinda
isaaczinda commented Jun 20, 2019

I believe that libevent has a dependency on OpenSSL (found this here). However, this isn't documented anywhere on the README and the lack of specifics here created a problem with my install on Windows 10. Steps to repro:

git clone https://github.com/libevent/libevent.git
mkdir libevent/.build
cd libevent/.build
cma
romantomjak
romantomjak commented Jun 23, 2018

Describe the bug
Docs never mention that Vibora searches for a folder named templates, additionally template rendering varies depending on where from you execute the file.

To Reproduce
Given the following folder structure:

.
├── project1
│   ├── app.py
│   └── templates
│       └── index.html

When Vibora is run from root folder like so python3 project1/app.py it wo

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

matheusb-comp
matheusb-comp commented Feb 25, 2020

In the docs about supporting binary messages, it is stated that the controller should implement Ratchet\WebSocket\MessageComponentInterface.

However, if using Ratchet\App, when adding a new route with this controller, the WsServer is not created, since the [`$controller instanceof MessageComponentInterfa

bug
transmittable-thread-local
abelsromero
abelsromero commented Nov 30, 2019

I am struggling to test a verticle isolated and all documentation and examples found only show how to test rest endpoints.

Something as simple as this, always fails with timeout

    @Rule
    public RunTestOnContext rule = new RunTestOnContext();

    @Rule
    public Timeout timeout = Timeout.seconds(5L);

    @Test
    public void should_run_verticle(TestContext context) {

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.