{"id":91840,"library":"future-resource","title":"Future Resource","description":"Sometimes a value is set asynchronously and you need to wait until it appears. Easy!","status":"active","version":"1.1.0","language":"ruby","source_language":null,"source_url":"https://github.com/adhearsion/future-resource","tags":["async","concurrency","utility"],"install":[{"cmd":"gem install future-resource","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'future-resource', '~> 1.1.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"FutureResource","correct":"require 'future-resource'"}],"quickstart":{"code":"require 'future-resource'\nf = FutureResource.new\nThread.new { sleep 1; f.resource = 42 }\nputs f.resource # waits and prints 42","lang":"ruby","description":"Create a future resource and retrieve its value."},"warnings":[],"env_vars":null,"search_vec":"'appear':16 'async':18 'asynchron':8 'concurr':19 'easi':17 'futur':1 'need':11 'resourc':2 'set':7 'sometim':3 'util':20 'valu':5 'wait':13","created_at":"2026-06-19T09:23:31.141700+00:00","updated_at":"2026-06-19T09:23:31.141700+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/adhearsion/future-resource","github":"https://github.com/adhearsion/future-resource","docs":"http://www.rubydoc.info/gems/future-resource/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}