{"id":16930310,"url":"https://github.com/tmccombs/betterfuture","last_synced_at":"2025-03-21T03:23:52.134Z","repository":{"id":256704634,"uuid":"856176897","full_name":"tmccombs/betterfuture","owner":"tmccombs","description":"Collection of helpers and improvments for Scala Futures","archived":false,"fork":false,"pushed_at":"2024-10-07T07:17:05.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T00:11:23.148Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","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/tmccombs.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":"2024-09-12T06:00:54.000Z","updated_at":"2024-10-07T07:17:08.000Z","dependencies_parsed_at":"2024-09-12T15:28:15.813Z","dependency_job_id":"61be9539-684a-4c24-8e9c-d68adca53eae","html_url":"https://github.com/tmccombs/betterfuture","commit_stats":null,"previous_names":["tmccombs/betterfuture"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmccombs%2Fbetterfuture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmccombs%2Fbetterfuture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmccombs%2Fbetterfuture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmccombs%2Fbetterfuture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmccombs","download_url":"https://codeload.github.com/tmccombs/betterfuture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244729276,"owners_count":20500220,"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":[],"created_at":"2024-10-13T20:41:22.697Z","updated_at":"2025-03-21T03:23:52.107Z","avatar_url":"https://github.com/tmccombs.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# betterfuture\n\nA library to make scala Futures better.\n\n## Motivation\n\nThe [`Future`](https://www.scala-lang.org/api/3.5.1/scala/concurrent/Future.html) type provided by the scala standard library is missing some feature I wish it had.\nThere are libraries like [Zio](https://zio.dev/), [Cats Effect](https://typelevel.org/cats-effect/), and even [Pekko](https://pekko.apache.org/) that provide\nmore complete frameworks, but it is still sometimes necessary to use scala's built-in `Future` type, perhaps for interoperability, or maybe because your codebase isn't\nusing one of those libraries yet.\n\nThis library aims to fill in the gaps and provide some missing functionality for scala `Future`s.\n\nFeatures included in this library are:\n\n- Ability to cancel `Future`s. See [CancellableFuture](src/CancellableFuture.scala),\n  [InterruptibleFuture](src/InterruptibleFuture.scala), and [Cancellable](src/Cancellable.scala).\n- Having Future-local storage that is propagated through `Future`s, similar to\n  thread-local storage. See [CFuture](src/CFuture.scala) and [TaskVal](src/TaskVal.scala).\n- Asynchronous equivalent of `Using`\n- [ ] Asynchronous channel for passing values between future tasks. (not yet implemented)\n- [ ] Asynchronous iterator trait (not yet implemented)\n- [ ] Asynchronous lock (not yet implemented)\n- [ ] Asynchronous semaphore, or rate limiter (not yet implemented)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmccombs%2Fbetterfuture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmccombs%2Fbetterfuture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmccombs%2Fbetterfuture/lists"}