{"action":"created","issue":{"url":"https://api.github.com/repos/puniverse/quasar/issues/141","labels_url":"https://api.github.com/repos/puniverse/quasar/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/puniverse/quasar/issues/141/comments","events_url":"https://api.github.com/repos/puniverse/quasar/issues/141/events","html_url":"https://github.com/puniverse/quasar/issues/141","id":120852572,"number":141,"title":"Is it possible to combine channels and serialisation?","user":{"login":"mikehearn","id":971089,"avatar_url":"https://avatars.githubusercontent.com/u/971089?v=3","gravatar_id":"","url":"https://api.github.com/users/mikehearn","html_url":"https://github.com/mikehearn","followers_url":"https://api.github.com/users/mikehearn/followers","following_url":"https://api.github.com/users/mikehearn/following{/other_user}","gists_url":"https://api.github.com/users/mikehearn/gists{/gist_id}","starred_url":"https://api.github.com/users/mikehearn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikehearn/subscriptions","organizations_url":"https://api.github.com/users/mikehearn/orgs","repos_url":"https://api.github.com/users/mikehearn/repos","events_url":"https://api.github.com/users/mikehearn/events{/privacy}","received_events_url":"https://api.github.com/users/mikehearn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-07T19:49:39Z","updated_at":"2015-12-17T16:04:25Z","closed_at":null,"body":"It isn't clear to me how to use the serialisation framework. Imagine I have a fiber that's blocked waiting to receive something on a channel. Before blocking, I'd like to serialise the state of the fiber to checkpoint it, so if the app dies whilst the fiber is waiting, I can reload it from disk and restart it. But I can't combine the two as the serialisation support requires use of the lower level parkAndSerialise method."},"comment":{"url":"https://api.github.com/repos/puniverse/quasar/issues/comments/165494932","html_url":"https://github.com/puniverse/quasar/issues/141#issuecomment-165494932","issue_url":"https://api.github.com/repos/puniverse/quasar/issues/141","id":165494932,"user":{"login":"pron","id":1273445,"avatar_url":"https://avatars.githubusercontent.com/u/1273445?v=3","gravatar_id":"","url":"https://api.github.com/users/pron","html_url":"https://github.com/pron","followers_url":"https://api.github.com/users/pron/followers","following_url":"https://api.github.com/users/pron/following{/other_user}","gists_url":"https://api.github.com/users/pron/gists{/gist_id}","starred_url":"https://api.github.com/users/pron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pron/subscriptions","organizations_url":"https://api.github.com/users/pron/orgs","repos_url":"https://api.github.com/users/pron/repos","events_url":"https://api.github.com/users/pron/events{/privacy}","received_events_url":"https://api.github.com/users/pron/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T16:04:25Z","updated_at":"2015-12-17T16:04:25Z","body":"Oh, there would still be a need for instrumentation, but that would allow us to figure out which methods to instrument *at runtime* while it's still not too late (i.e. after we no longer have access to the stack contents). A method will be instrumented the first time it blocks a fiber. We won't need to know about it in advance."}}