{"action":"created","issue":{"url":"https://api.github.com/repos/james-jw/xq-promise/issues/5","labels_url":"https://api.github.com/repos/james-jw/xq-promise/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/james-jw/xq-promise/issues/5/comments","events_url":"https://api.github.com/repos/james-jw/xq-promise/issues/5/events","html_url":"https://github.com/james-jw/xq-promise/issues/5","id":115379573,"number":5,"title":"promise:fork","user":{"login":"apb2006","id":429616,"avatar_url":"https://avatars.githubusercontent.com/u/429616?v=3","gravatar_id":"","url":"https://api.github.com/users/apb2006","html_url":"https://github.com/apb2006","followers_url":"https://api.github.com/users/apb2006/followers","following_url":"https://api.github.com/users/apb2006/following{/other_user}","gists_url":"https://api.github.com/users/apb2006/gists{/gist_id}","starred_url":"https://api.github.com/users/apb2006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apb2006/subscriptions","organizations_url":"https://api.github.com/users/apb2006/orgs","repos_url":"https://api.github.com/users/apb2006/repos","events_url":"https://api.github.com/users/apb2006/events{/privacy}","received_events_url":"https://api.github.com/users/apb2006/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/james-jw/xq-promise/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-11-05T21:34:29Z","updated_at":"2016-01-25T16:58:16Z","closed_at":"2016-01-25T16:19:22Z","body":"[edited from 1st version]\r\nHi James,\r\nThis is not working the way I am looking for. Am I doing it wrong?\r\n````\r\nimport module namespace promise = 'org.jw.basex.async.xq-promise';\r\n\r\nlet $query := 'prof:sleep(10000),admin:write-log(\"test1\")'\r\nlet $promise := promise:fork(xquery:eval(?), $query)\r\nreturn ( 2,$promise())\r\n````\r\nThis does not return until the $query has completed. I want to kick off the query and forget about it.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/james-jw/xq-promise/issues/comments/174582260","html_url":"https://github.com/james-jw/xq-promise/issues/5#issuecomment-174582260","issue_url":"https://api.github.com/repos/james-jw/xq-promise/issues/5","id":174582260,"user":{"login":"apb2006","id":429616,"avatar_url":"https://avatars.githubusercontent.com/u/429616?v=3","gravatar_id":"","url":"https://api.github.com/users/apb2006","html_url":"https://github.com/apb2006","followers_url":"https://api.github.com/users/apb2006/followers","following_url":"https://api.github.com/users/apb2006/following{/other_user}","gists_url":"https://api.github.com/users/apb2006/gists{/gist_id}","starred_url":"https://api.github.com/users/apb2006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apb2006/subscriptions","organizations_url":"https://api.github.com/users/apb2006/orgs","repos_url":"https://api.github.com/users/apb2006/repos","events_url":"https://api.github.com/users/apb2006/events{/privacy}","received_events_url":"https://api.github.com/users/apb2006/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T16:58:15Z","updated_at":"2016-01-25T16:58:15Z","body":"Sadly I wont be at XML Prague this year - a brainstorming session would have been great.  \r\nI will be following the precedings from afar. \r\nGood luck with your presentations."}}