{"action":"opened","issue":{"url":"https://api.github.com/repos/nozavroni/csvelte/issues/127","repository_url":"https://api.github.com/repos/nozavroni/csvelte","labels_url":"https://api.github.com/repos/nozavroni/csvelte/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/nozavroni/csvelte/issues/127/comments","events_url":"https://api.github.com/repos/nozavroni/csvelte/issues/127/events","html_url":"https://github.com/nozavroni/csvelte/issues/127","id":177668823,"number":127,"title":"Need something similar to Guzzle's PumpStream","user":{"login":"nozavroni","id":48611,"avatar_url":"https://avatars.githubusercontent.com/u/48611?v=3","gravatar_id":"","url":"https://api.github.com/users/nozavroni","html_url":"https://github.com/nozavroni","followers_url":"https://api.github.com/users/nozavroni/followers","following_url":"https://api.github.com/users/nozavroni/following{/other_user}","gists_url":"https://api.github.com/users/nozavroni/gists{/gist_id}","starred_url":"https://api.github.com/users/nozavroni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nozavroni/subscriptions","organizations_url":"https://api.github.com/users/nozavroni/orgs","repos_url":"https://api.github.com/users/nozavroni/repos","events_url":"https://api.github.com/users/nozavroni/events{/privacy}","received_events_url":"https://api.github.com/users/nozavroni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nozavroni/csvelte/labels/documentation","name":"documentation","color":"0e8a16"},{"url":"https://api.github.com/repos/nozavroni/csvelte/labels/feature","name":"feature","color":"0052cc"},{"url":"https://api.github.com/repos/nozavroni/csvelte/labels/testing","name":"testing","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"nozavroni","id":48611,"avatar_url":"https://avatars.githubusercontent.com/u/48611?v=3","gravatar_id":"","url":"https://api.github.com/users/nozavroni","html_url":"https://github.com/nozavroni","followers_url":"https://api.github.com/users/nozavroni/followers","following_url":"https://api.github.com/users/nozavroni/following{/other_user}","gists_url":"https://api.github.com/users/nozavroni/gists{/gist_id}","starred_url":"https://api.github.com/users/nozavroni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nozavroni/subscriptions","organizations_url":"https://api.github.com/users/nozavroni/orgs","repos_url":"https://api.github.com/users/nozavroni/repos","events_url":"https://api.github.com/users/nozavroni/events{/privacy}","received_events_url":"https://api.github.com/users/nozavroni/received_events","type":"User","site_admin":false},"assignees":[{"login":"nozavroni","id":48611,"avatar_url":"https://avatars.githubusercontent.com/u/48611?v=3","gravatar_id":"","url":"https://api.github.com/users/nozavroni","html_url":"https://github.com/nozavroni","followers_url":"https://api.github.com/users/nozavroni/followers","following_url":"https://api.github.com/users/nozavroni/following{/other_user}","gists_url":"https://api.github.com/users/nozavroni/gists{/gist_id}","starred_url":"https://api.github.com/users/nozavroni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nozavroni/subscriptions","organizations_url":"https://api.github.com/users/nozavroni/orgs","repos_url":"https://api.github.com/users/nozavroni/repos","events_url":"https://api.github.com/users/nozavroni/events{/privacy}","received_events_url":"https://api.github.com/users/nozavroni/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/nozavroni/csvelte/milestones/9","html_url":"https://github.com/nozavroni/csvelte/milestones/v0.2.1%20Release","labels_url":"https://api.github.com/repos/nozavroni/csvelte/milestones/9/labels","id":2010795,"number":9,"title":"v0.2.1 Release","description":"The main focus of this release will be to refactor the ``IO\\Stream`` class as well as its various traits and interfaces. I feel like the traits are probably unnecessary and the interfaces aren't all that useful... also want to add a LOT more unit tests for it. ","creator":{"login":"nozavroni","id":48611,"avatar_url":"https://avatars.githubusercontent.com/u/48611?v=3","gravatar_id":"","url":"https://api.github.com/users/nozavroni","html_url":"https://github.com/nozavroni","followers_url":"https://api.github.com/users/nozavroni/followers","following_url":"https://api.github.com/users/nozavroni/following{/other_user}","gists_url":"https://api.github.com/users/nozavroni/gists{/gist_id}","starred_url":"https://api.github.com/users/nozavroni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nozavroni/subscriptions","organizations_url":"https://api.github.com/users/nozavroni/orgs","repos_url":"https://api.github.com/users/nozavroni/repos","events_url":"https://api.github.com/users/nozavroni/events{/privacy}","received_events_url":"https://api.github.com/users/nozavroni/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":2,"state":"open","created_at":"2016-09-17T08:27:17Z","updated_at":"2016-09-18T18:49:15Z","due_on":"2016-09-26T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-09-18T18:49:15Z","updated_at":"2016-09-18T18:49:15Z","closed_at":null,"body":"I need something similar to what Guzzle calls a \"PumpStream\". I doubt mine needs to be quite so robust, but basically it just needs to do this: \r\n\r\nread - when read is requested, it looks in the buffer (which is a BufferStream object), and if that is empty, it calls the user-specified function and fills the buffer with its return value. on the next read it reads from buffer until empty and repeats the process. "}}
{"actor":{"display_login":"nozavroni"}}