coroutines
Here are 1,018 public repositories matching this topic...
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
Subj. External monkey plugins need to be able to test. Currently the only way to utilize the internal greentest.testrunner
is to copy-paste the code from gevent-proper.
It would be nice is greentest was actually an external package that both gevent and plugins could use.
-
Updated
Jun 19, 2020 - Kotlin
Hey,
Has any thought been given to supporting phpstan/psalm generics e.g.
class Foo
{
/**
* @return Promise<MyDomainThing>
*/
public function wait(): Promise { // ... }
}
Otherewise, what's the best way to document a Promise that's compatible with SA tools?
Psalm has some stubs for Amp: https://github.com/vimeo/psalm/blob/master/src/Psalm/Internal/S
-
Updated
Jun 4, 2020
-
Updated
Jul 11, 2019 - JavaScript
-
Updated
Oct 24, 2019 - PHP
-
Updated
Mar 26, 2020 - Swift
in elif ACL_WINDOWS
lib_acl/src/net/acl_vstream_net.c
line 117
@@ -114,7 +114,7 @@ ACL_VSTREAM *acl_vstream_accept_ex(ACL_VSTREAM *sstream,
connfd = acl_accept(servfd, buf, sizeof(buf), NULL);
} else if (sstream->iocp_sock == ACL_SOCKET_INVALID) {
return NULL;
- else {
+ } else {
int ret;
co
-
Updated
Apr 7, 2019 - Swift
配置设置问题咨询
SMProxy的账号密码端口和ip能设置与原mysql一样的吗?比如都设置为 127.0.0.1 root 123456 3306
目的是为了防止这个访问突然断了后直接连回mysql,或者说这服务有守护进程在的吗?服务挂了会重启或服务器挂了重启它也跟着重启而不需要手动启动
-
Updated
Jun 19, 2020 - Kotlin
OpenAPI: we should try springfox/springfox#1773 which has been merged and see if functional support is ok.
Spring REST docs: we should test WebTestClient
support, see spring-projects/spring-restdocs#384.
Hello,
you did the hard part of documenting which is writing the content.
I recommend as a next step to put all those markdown files in a website Gradle module powered by Orchid
See https://github.com/JavaEden/Orchid
I use it for my own needs and find it good, less well known that Hugo, Jekyll, Gatsby, but it fits right in with our skills: Gradle, Kotlin.
The way to get started is
-
Updated
Jun 6, 2018 - Kotlin
bug in README.md when_all_ready() example:
task<> example2()
{
...
// Unpack and handle each result individually once they're all complete.
for (int i = 0; i < 1000; ++i)
{
try
{
>>> std::string& record = tasks[i].result();
should be
std::string& record = resultTasks[i].result();
...
}
-
Updated
Jun 14, 2020 - Kotlin
-
Updated
Jun 14, 2020 - Kotlin
-
Updated
May 12, 2020 - Java
Hi,
great extension to libGDX :) thank you for that.
My question: how can square brackets be used with libKTX ArrayMaps?
what I wanted to to:
val myMap : ArrayMap<String, Label>
myMap = ArrayMap()
myMap["one"] = new Label(...)
But there is no Set operator defined. Am I doing something wrong, or isn't it just implemented yet?
Cheers
-
Updated
Dec 13, 2019 - Kotlin
refine documentation
there are a lot of work need to about the documentation.
-
Updated
Jun 11, 2020 - Kotlin
-
Updated
Nov 28, 2019 - PHP
-
Updated
May 24, 2020 - Kotlin
-
Updated
Jan 29, 2019 - Kotlin
Something to the effect of:
Copyright 2020 by the FiberTaskingLib Contributors
Similar for all the file headers.
Then create a Contributors.txt file that lists all the contributors.
OpenBSD support
Just a thing to link commits to.
Improve this page
Add a description, image, and links to the coroutines topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the coroutines topic, visit your repo's landing page and select "manage topics."
PHP Version 7.1.9
The documentation says that Swoole coroutine cannot be used with xdebug, while developling applications xdebug is very helpful tool. For smaller application it may not be a problem but larger applications makes it necessary to use it.
My question is how can I debug applications while still using Swoole Coroutines ?