{"id":21948137,"url":"https://github.com/evolution-gaming/ddata-tools","last_synced_at":"2026-01-08T03:50:50.101Z","repository":{"id":42059632,"uuid":"123552277","full_name":"evolution-gaming/ddata-tools","owner":"evolution-gaming","description":"Tools to work with akka distributed data","archived":false,"fork":false,"pushed_at":"2024-07-18T11:06:02.000Z","size":57,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-07-18T13:48:07.303Z","etag":null,"topics":["akka","cats","cats-effect","ddata","scala"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evolution-gaming.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,"publiccode":null,"codemeta":null}},"created_at":"2018-03-02T08:27:41.000Z","updated_at":"2024-07-18T11:06:05.000Z","dependencies_parsed_at":"2024-07-18T13:07:23.771Z","dependency_job_id":null,"html_url":"https://github.com/evolution-gaming/ddata-tools","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evolution-gaming%2Fddata-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evolution-gaming%2Fddata-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evolution-gaming%2Fddata-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evolution-gaming%2Fddata-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evolution-gaming","download_url":"https://codeload.github.com/evolution-gaming/ddata-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227048621,"owners_count":17723256,"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":["akka","cats","cats-effect","ddata","scala"],"created_at":"2024-11-29T05:12:09.328Z","updated_at":"2026-01-08T03:50:50.076Z","avatar_url":"https://github.com/evolution-gaming.png","language":"Scala","readme":"# DData Tools\n[![Build Status](https://github.com/evolution-gaming/ddata-tools/workflows/CI/badge.svg)](https://github.com/evolution-gaming/ddata-tools/actions?query=workflow%3ACI)\n[![Coverage Status](https://coveralls.io/repos/github/evolution-gaming/ddata-tools/badge.svg?branch=master)](https://coveralls.io/github/evolution-gaming/ddata-tools?branch=master)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/91f43a46edcf44e7829e4ef10aae3ba1)](https://www.codacy.com/app/evolution-gaming/ddata-tools?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=evolution-gaming/ddata-tools\u0026amp;utm_campaign=Badge_Grade)\n[![Version](https://img.shields.io/badge/version-click-blue)](https://evolution.jfrog.io/artifactory/api/search/latestVersion?g=com.evolutiongaming\u0026a=ddata-tools_2.13\u0026repos=public)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellowgreen.svg)](https://opensource.org/licenses/MIT)\n\n### SafeReplicator - is a typesafe api for [DData replicator](https://doc.akka.io/docs/akka/2.5.9/distributed-data.html)\n\n```scala\ntrait SafeReplicator[F[_], A \u003c: ReplicatedData] {\n\n  def get(implicit consistency: ReadConsistency): F[Option[A]]\n\n  def update(modify: Option[A] =\u003e A)(implicit consistency: WriteConsistency): F[Unit]\n\n  def delete(implicit consistency: WriteConsistency): F[Boolean]\n\n  def subscribe(\n    onStop: F[Unit],\n    onChanged: A =\u003e F[Unit])(implicit\n    factory: ActorRefFactory,\n    executor: ExecutionContext\n  ): Resource[F, Unit]\n\n  def flushChanges: F[Unit]\n}\n```\n\n## Setup\n\n```scala\naddSbtPlugin(\"com.evolution\" % \"sbt-artifactory-plugin\" % \"0.0.2\")\n\nlibraryDependencies += \"com.evolutiongaming\" %% \"ddata-tools\" % \"2.0.8\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevolution-gaming%2Fddata-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevolution-gaming%2Fddata-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevolution-gaming%2Fddata-tools/lists"}