{"action":"created","issue":{"url":"https://api.github.com/repos/alexcrichton/futures-rs/issues/235","repository_url":"https://api.github.com/repos/alexcrichton/futures-rs","labels_url":"https://api.github.com/repos/alexcrichton/futures-rs/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/alexcrichton/futures-rs/issues/235/comments","events_url":"https://api.github.com/repos/alexcrichton/futures-rs/issues/235/events","html_url":"https://github.com/alexcrichton/futures-rs/issues/235","id":187529245,"number":235,"title":"Provide a version of task::park() that doesn't panic","user":{"login":"carllerche","id":6180,"avatar_url":"https://avatars.githubusercontent.com/u/6180?v=3","gravatar_id":"","url":"https://api.github.com/users/carllerche","html_url":"https://github.com/carllerche","followers_url":"https://api.github.com/users/carllerche/followers","following_url":"https://api.github.com/users/carllerche/following{/other_user}","gists_url":"https://api.github.com/users/carllerche/gists{/gist_id}","starred_url":"https://api.github.com/users/carllerche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carllerche/subscriptions","organizations_url":"https://api.github.com/users/carllerche/orgs","repos_url":"https://api.github.com/users/carllerche/repos","events_url":"https://api.github.com/users/carllerche/events{/privacy}","received_events_url":"https://api.github.com/users/carllerche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-05T22:53:48Z","updated_at":"2016-11-05T22:59:22Z","closed_at":null,"body":"When implementing abstractions on top of tasks, if a call to `task::park()` will panic, it is sometimes important to be able to perform some cleanup work. Right now, it isn't possible to do that.\r\n\r\nEither a fn to test if currently running on on a task or have park() -> Option would do."},"comment":{"url":"https://api.github.com/repos/alexcrichton/futures-rs/issues/comments/258647957","html_url":"https://github.com/alexcrichton/futures-rs/issues/235#issuecomment-258647957","issue_url":"https://api.github.com/repos/alexcrichton/futures-rs/issues/235","id":258647957,"user":{"login":"liran-ringel","id":5730310,"avatar_url":"https://avatars.githubusercontent.com/u/5730310?v=3","gravatar_id":"","url":"https://api.github.com/users/liran-ringel","html_url":"https://github.com/liran-ringel","followers_url":"https://api.github.com/users/liran-ringel/followers","following_url":"https://api.github.com/users/liran-ringel/following{/other_user}","gists_url":"https://api.github.com/users/liran-ringel/gists{/gist_id}","starred_url":"https://api.github.com/users/liran-ringel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liran-ringel/subscriptions","organizations_url":"https://api.github.com/users/liran-ringel/orgs","repos_url":"https://api.github.com/users/liran-ringel/repos","events_url":"https://api.github.com/users/liran-ringel/events{/privacy}","received_events_url":"https://api.github.com/users/liran-ringel/received_events","type":"User","site_admin":false},"created_at":"2016-11-05T22:59:22Z","updated_at":"2016-11-05T22:59:22Z","body":"Why not doing clean with RAII using `Drop`?"}}
{"actor":{"display_login":"liran-ringel"}}