kotlinx-sockets - Kotlinx coroutines sockets

  •        370

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-sockets
https://github.com/cy6erGn0m/kotlinx.sockets

Dependencies:

org.jetbrains.kotlin:kotlin-stdlib:1.1.2-3
org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:0.15
org.jetbrains.kotlinx:kotlinx-coroutines-nio:0.15

Tags
Implementation
License
Platform

   




Related Projects

Coil - Image loading for Android backed by Kotlin Coroutines

  •    Kotlin

Coil is an image loading library for Android backed by Kotlin Coroutines. Coil performs a number of optimizations including memory and disk caching, downsampling the image in memory, re-using bitmaps, automatically pausing/cancelling requests, and more. It adds ~2000 methods to your APK (for apps that already use OkHttp and Coroutines), which is comparable to Picasso and significantly less than Glide and Fresco.

kotlin-coroutines-retrofit - Kotlin Coroutines await() extension for Retrofit Call

  •    Kotlin

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.

kotlinx.coroutines - Library support for Kotlin coroutines

  •    Kotlin

Library 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.

kotlinx-datetime - KotlinX multiplatform date/time library

  •    Kotlin

A multiplatform Kotlin library for working with date and time. See Using in your projects for the instructions how to setup a dependency in your project.

ktx - LibKTX: Kotlin extensions for LibGDX games and applications

  •    Kotlin

Kotlin 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.


android-showcase - đź’ŽAndroid application following best practices: Kotlin, coroutines, Clean Architecture, feature modules, tests, MVVM, static analysis

  •    Kotlin

Showcase is a sample project that presents modern, 2019 approach to Android application development using Kotlin and latest tech-stack. The goal of the project is to demonstrate best practices, provide a set of guidelines, and present modern Android application architecture that is modular, scalable, maintainable and testable. This application may look simple, but it has all of these small details that will set the rock-solid foundation of the larger app suitable for bigger teams and long application lifecycle. Many of the project design decisions follow official Google recommendations.

kotlin-coroutines - Design documents and examples for coroutines in Kotlin

  •    

In this repository, we keep track of the design for coroutines in Kotlin. It is logically a part of KEEP.

kotlin-coroutines-examples - Design documents and examples for coroutines in Kotlin

  •    

This repository contains examples for Kotlin Coroutines Design.

coroutines-examples - Examples for coroutines design in Kotlin

  •    

This repository contains examples for Kotlin Coroutines Design.

AsyncAwait - async/await for Android built upon coroutines introduced in Kotlin 1.1

  •    Kotlin

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.

crweather - Android demo app with kotlin coroutines and architecture components library

  •    Kotlin

Android demo app with kotlin coroutines and architecture components library

retrofit2-kotlin-coroutines-adapter - A Retrofit 2 adapter for Kotlin coroutine's Deferred type.

  •    Kotlin

A Retrofit 2 CallAdapter.Factory for Kotlin coroutine's Deferred. Your service methods can now use Deferred as their return type.

Ktor - Framework for quickly creating connected applications in Kotlin with minimal effort

  •    Kotlin

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.

Java NIO Socket Framework

  •    Java

A 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.

awesome-asyncio - A curated list of awesome Python asyncio frameworks, libraries, software and resources

  •    

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.

kotlinx-lincheck - Framework for testing concurrent data structures

  •    Kotlin

Lincheck is a framework for testing concurrent data structures for correctness. In order to use the framework, operations to be executed concurrently should be specified with the necessary information for an execution scenario generation. With the help of this specification, lincheck generates different scenarios, executes them in concurrent environment several times and then checks that the execution results are correct (usually, linearizable, but different relaxed contracts can be used as well). The artifacts are available in Bintray and JCenter. Use org.jetbrains.kotlinx:lincheck:<version> artifact path in Gradle and org.jetbrains.kotlinx:lincheck-jvm:<version> in Maven.

asyncoro

  •    Python

Python framework for asynchronous, concurrent, distributed programming

iPoli-android - Fun & Motivational Todo List with Calendar for Android written in Kotlin

  •    Kotlin

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.

Jooby - A Scalable, fast and modular micro web framework for Java

  •    Java

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.






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.