{"id":19966274,"url":"https://github.com/reactor/reactor-kotlin-extensions","last_synced_at":"2025-04-06T01:08:16.709Z","repository":{"id":37405887,"uuid":"185153235","full_name":"reactor/reactor-kotlin-extensions","owner":"reactor","description":"Reactor Kotlin Support","archived":false,"fork":false,"pushed_at":"2024-04-15T12:32:35.000Z","size":301,"stargazers_count":130,"open_issues_count":14,"forks_count":21,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-04-16T11:11:20.853Z","etag":null,"topics":["coroutine","kotlin","kotlin-extensions","reactor-core"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reactor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-05-06T08:16:20.000Z","updated_at":"2024-04-19T05:38:23.402Z","dependencies_parsed_at":"2024-03-19T12:27:29.725Z","dependency_job_id":"330de8fa-33d9-471c-9add-257bdcc3e2e6","html_url":"https://github.com/reactor/reactor-kotlin-extensions","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactor%2Freactor-kotlin-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactor%2Freactor-kotlin-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactor%2Freactor-kotlin-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactor%2Freactor-kotlin-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reactor","download_url":"https://codeload.github.com/reactor/reactor-kotlin-extensions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419860,"owners_count":20936012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coroutine","kotlin","kotlin-extensions","reactor-core"],"created_at":"2024-11-13T02:34:24.908Z","updated_at":"2025-04-06T01:08:16.683Z","avatar_url":"https://github.com/reactor.png","language":"Kotlin","readme":"# Reactor Kotlin Extensions\n\n[![Join the chat at https://gitter.im/reactor/reactor](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/reactor/reactor?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nAdd various extensions and adapters for Kotlin programming language. While Reactor Core, Reactor Addons and other Reactor libraries \nare designed to be Kotlin friendly with the use of `@Nullable` and carefully picked signature types, Kotlin developers might \nwant to adapt the core functional programming API further.\n\n# Maven Artifacts\n\nWith Gradle from repo.spring.io or Maven Central repositories (stable releases only):\n\n```groovy\n    repositories {\n        //maven { url 'https://repo.spring.io/snapshot' }\n        maven { url 'https://repo.spring.io/milestone' }\n        mavenCentral()\n    }\n\n    dependencies {\n        //implementation \"io.projectreactor.kotlin:reactor-kotlin-extensions:1.3.0-SNAPSHOT\"\n        implementation \"io.projectreactor.kotlin:reactor-kotlin-extensions:1.3.0-RC1\"\n    }\n```\n\nWith Maven from Maven Central repositories (stable releases):\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.projectreactor.kotlin\u003c/groupId\u003e\n    \u003cartifactId\u003ereactor-kotlin-extensions\u003c/artifactId\u003e\n    \u003cversion\u003e1.3.0-RC1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nOr from repo.spring.io with access to SNAPSHOT: \n\n```xml\n...\n\u003cdependencies\u003e\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.projectreactor.kotlin\u003c/groupId\u003e\n        \u003cartifactId\u003ereactor-kotlin-extensions\u003c/artifactId\u003e\n        \u003cversion\u003e1.3.0-SNAPSHOT\u003c/version\u003e\n    \u003c/dependency\u003e\n\n\u003c/dependencies\u003e\n...\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003espring-milestones\u003c/id\u003e\n        \u003cname\u003eSpring Milestones\u003c/name\u003e\n        \u003curl\u003ehttps://repo.spring.io/milestone\u003c/url\u003e\n    \u003c/repository\u003e\n    \u003crepository\u003e\n        \u003cid\u003espring-snapshots\u003c/id\u003e\n        \u003cname\u003eSpring Snapshots\u003c/name\u003e\n        \u003curl\u003ehttps://repo.spring.io/snapshot\u003c/url\u003e\n        \u003csnapshots\u003e\n            \u003cenabled\u003etrue\u003c/enabled\u003e\n        \u003c/snapshots\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n```\n\n# Quick Examples\n\nTuple destructure:\n```kotlin\nval (t1, t2, t3) = Tuples.of(O1, O2, O3)\nassertEquals(t1, O1)\nassertEquals(t2, O2)\nassertEquals(t3, O3)\n```\n\nConvert, sum (*requires reactor-extra*) and test (*requires reactor-test*):\n```kotlin\nintArrayOf(2_000_000_000, 200_000_000) //sum overflows an Int\n    .toFlux()\n    .sum()\n    .test()\n    .expectNext(2_200_000_000)\n    .verifyComplete()\n```\n\nCoordinating when two mono completes:\n```kotlin\nwhenComplete(\"foo1\".toMono(), \"foo2\".toMono())\n    .test()\n    .verifyComplete()\n```\n\n## License\n\nReactor is [Apache 2.0 licensed](https://www.apache.org/licenses/LICENSE-2.0.html).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactor%2Freactor-kotlin-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freactor%2Freactor-kotlin-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactor%2Freactor-kotlin-extensions/lists"}