{"id":18525734,"url":"https://github.com/hakobe/p5-fiber","last_synced_at":"2025-06-12T13:06:05.772Z","repository":{"id":527436,"uuid":"156175","full_name":"hakobe/p5-Fiber","owner":"hakobe","description":"Ruby like Fiber on Perl","archived":false,"fork":false,"pushed_at":"2014-01-28T13:04:00.000Z","size":204,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T04:14:44.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hakobe.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-03-22T04:29:42.000Z","updated_at":"2019-08-13T14:11:14.000Z","dependencies_parsed_at":"2022-07-15T01:00:43.970Z","dependency_job_id":null,"html_url":"https://github.com/hakobe/p5-Fiber","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hakobe/p5-Fiber","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakobe%2Fp5-Fiber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakobe%2Fp5-Fiber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakobe%2Fp5-Fiber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakobe%2Fp5-Fiber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hakobe","download_url":"https://codeload.github.com/hakobe/p5-Fiber/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hakobe%2Fp5-Fiber/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259470938,"owners_count":22862995,"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-11-06T17:46:51.827Z","updated_at":"2025-06-12T13:06:05.743Z","avatar_url":"https://github.com/hakobe.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/hakobe/p5-Fiber.png?branch=master)](https://travis-ci.org/hakobe/p5-Fiber)\n# NAME\n\nFiber - Coroutine like Ruby Fiber\n\n# SYNOPSIS\n\n    use Fiber;\n\n    my $counter = Fiber-\u003enew(sub {\n        my $n = 0;\n        while (1) {\n            Fiber-\u003eyield($n++);\n        }\n    });\n\n    $counter-\u003eresume; # =\u003e 0\n    $counter-\u003eresume; # =\u003e 1\n    $counter-\u003eresume; # =\u003e 2\n\n# DESCRIPTION\n\nFiber is a coroutine implementaion like Ruby Fiber.\nThis module is built upon Coro.\n\n# METHODS\n\n- new\n\n        my $fiber = Fiber-\u003enew(sub { ... });\n\n    Creates a new Fiber object that processes a given subrotuine reference.\n\n- yield\n\n        my @ret = Fiber-\u003eyield(@vals);\n\n    Control back to the context that resume the fiber, and passing @valus to it.\n\n- resume\n\n        my @ret = $fiber-\u003eresume(@vals);\n\n    Resumes the fiber from the point at which the last Fiber-\u003eyield was called, \n    or starts running it if it is the first call to resume.\n\n# AUTHOR\n\nYohei Fushii \u003chakobe@gmail.com\u003e\n\n# LICENSE\n\nThis library is free software; you can redistribute it and/or modify\nit under the same terms as Perl itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakobe%2Fp5-fiber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhakobe%2Fp5-fiber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhakobe%2Fp5-fiber/lists"}