Kotlinx.sockets is a library to bring rich coroutines experience to NIO sockets, eliminate terrible callbacks and selector loops and related difficult code. With the library and kotlin coroutines you can simply write async NIO code in usual synchronous style.
https://github.com/cy6erGn0m/kotlinx-socketsTags | kotlin coroutines nio |
Implementation | Kotlin |
License | Public |
Platform |
Based on kotlinx.coroutines implementation. NOTE: All examples in this README use runBlocking to build coroutine but it is only useful for testing or examples.
retrofit2 kotlin coroutines async retrofit kotlin-coroutinesLibrary support for Kotlin coroutines in Kotlin/JVM and Kotlin/JS. This is a companion version for Kotlin 1.2.21 release. Note that these libraries are experimental and are subject to change.
kotlin coroutines asyncKotlin utilities for LibGDX applications. KTX aims to make LibGDX as Kotlin-friendly as possible without turning the API upside down. It provides modular utilities for certain parts of LibGDX with poor Kotlin support. This is not a new framework by any means - but Kotlin certainly makes LibGDX feel like one.
kotlin libgdx scene2d libgdx-utilities kotlin-utilities coroutines libgdx-api safe-kotlin-builders kotlin-library kotlin-extensions kotlin-coroutines kotlin-dsl box2d libktx freetype asyncIn this repository, we keep track of the design for coroutines in Kotlin. It is logically a part of KEEP.
Simpliest way to ask runtime permissions on Android, no need to extend class or override permissionResult method, choose your way : Kotlin / Coroutines / RxJava / Java7 / Java8
runtime permission android rxjava kotlin coroutines lambda marshmallow manifest rx launch asyncThis repository contains examples for Kotlin Coroutines Design.
As you see in the example above, you can write asynchronous code in a imperative style, step by step. Calling await to run code in background doesn't lock the UI thread. And execution continues in UI thread after background work is finished. There is no magic, see how it works. Use it to show loading progress, its second parameter is a progress handler.
coroutines ui-thread kotlin asyncAndroid demo app with kotlin coroutines and architecture components library
Ktor is a framework for quickly creating web applications in Kotlin with minimal effort. Ktor Framework doesn't impose a lot of constraints on what technology a project is going to use – logging, templating, messaging, persistent, serializing, dependency injection, etc. Sometimes it may be required to implement a simple interface, but usually it is a matter of writing a transforming or intercepting function. Features are installed into application using unified interception mechanism which allows building arbitrary pipelines.
kotlin web-framework asynchronous async web rest-frameworkA Retrofit 2 CallAdapter.Factory for Kotlin coroutine's Deferred. Your service methods can now use Deferred as their return type.
A carefully curated list of awesome Python asyncio frameworks, libraries, software and resources. The Python asyncio module introduced to the standard library with Python 3.4 provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives.
python-asyncio coroutines asyncio awesome awesome-listA Java 1.4 based NIO socket framework. This hides the (dirty) details of non-blocking IO from developers, allowing them to EASILY build a highly scalable application, which can handle over 10000 incoming and outgoing sockets using only one thread.
myPoli combines Calendar, ToDo list and Habit tracking app, all in one place to give you the best way to achieve your goals! Find time to exercise, learn new skills, focus deeply on meaningful work, stick to good habits and free you from the burden of scheduling tasks by yourself.
android tasks calendar habit-tracking clean-architecture redux coroutines todo-list firebase firestoreLibdill is a C library that makes writing structured concurrent programs easy. There is no interaction between threads. Each thread is treated as a separate process. Channels are always unbuffered. Coroutines can be canceled. Generally speaking, though, libdill's concurrency primitives are only a bit slower than basic C flow control statements. A context switch has been seen to execute in as little as 6 ns, with coroutine creation taking 26 ns. Passing a message through a channel takes about 40 ns.
concurrency threads multi-threading socketsLibmill is a library that introduces Go-style concurrency to C. It can execute up to 20 million coroutines and 50 million context switches per second. It also contains simple networking and file access library that allows users to quickly bootstrap application development.
concurrency threads sockets multi-threading networkingCurio is a library of building blocks for performing concurrent I/O and common system programming tasks such as launching subprocesses, working with files, and farming work out to thread and process pools. It uses Python coroutines and the explicit async/await syntax introduced in Python 3.5. Its programming model is based on cooperative multitasking and existing programming abstractions such as threads, sockets, files, subprocesses, locks, and queues. You'll find it to be small, fast, and fun. Curio has no third-party dependencies and does not use the standard asyncio module. Most users will probably find it to be a bit too-low level--it's probably best to think of it as a library for building libraries. Although you might not use it directly, many of its ideas have influenced other libraries with similar functionality.
Jooby a scalable, fast and modular micro web framework for Java. Write your application in Java or JavaScript. It supports Express.js, Sinatra, Scripting programming model. It also supports Spring like MVC model. NIO web servers, Caching, Web sockets, Dependency Injection and lot more.
java-framework web-framework frameworkThe Grizzly NIO framework has been designed to help developers to take advantage of the Java NIO API. Grizzlys goal is to help developers to build scalable and robust servers using NIO as well as offering extended framework components: Web Framework (HTTP/S), WebSocket, Comet, and more!
event-driven asynchronous framework nio async-io websocket
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.