{"action":"created","issue":{"url":"https://api.github.com/repos/swoole/swoole-src/issues/217","labels_url":"https://api.github.com/repos/swoole/swoole-src/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/swoole/swoole-src/issues/217/comments","events_url":"https://api.github.com/repos/swoole/swoole-src/issues/217/events","html_url":"https://github.com/swoole/swoole-src/issues/217","id":62296790,"number":217,"title":"我要半路停止task如何操作","user":{"login":"chaegumi","id":9654650,"avatar_url":"https://avatars.githubusercontent.com/u/9654650?v=3","gravatar_id":"","url":"https://api.github.com/users/chaegumi","html_url":"https://github.com/chaegumi","followers_url":"https://api.github.com/users/chaegumi/followers","following_url":"https://api.github.com/users/chaegumi/following{/other_user}","gists_url":"https://api.github.com/users/chaegumi/gists{/gist_id}","starred_url":"https://api.github.com/users/chaegumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaegumi/subscriptions","organizations_url":"https://api.github.com/users/chaegumi/orgs","repos_url":"https://api.github.com/users/chaegumi/repos","events_url":"https://api.github.com/users/chaegumi/events{/privacy}","received_events_url":"https://api.github.com/users/chaegumi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-17T06:03:52Z","updated_at":"2015-03-17T11:29:59Z","closed_at":null,"body":"我有看到文档中有这个\r\n\r\n在onTask回调函数中return字符串，等同于调用finish\r\n\r\n那我要直接调用finish可以吗，那个参数是response不是任务id，我就不会做了"},"comment":{"url":"https://api.github.com/repos/swoole/swoole-src/issues/comments/82292602","html_url":"https://github.com/swoole/swoole-src/issues/217#issuecomment-82292602","issue_url":"https://api.github.com/repos/swoole/swoole-src/issues/217","id":82292602,"user":{"login":"matyhtf","id":2017766,"avatar_url":"https://avatars.githubusercontent.com/u/2017766?v=3","gravatar_id":"","url":"https://api.github.com/users/matyhtf","html_url":"https://github.com/matyhtf","followers_url":"https://api.github.com/users/matyhtf/followers","following_url":"https://api.github.com/users/matyhtf/following{/other_user}","gists_url":"https://api.github.com/users/matyhtf/gists{/gist_id}","starred_url":"https://api.github.com/users/matyhtf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matyhtf/subscriptions","organizations_url":"https://api.github.com/users/matyhtf/orgs","repos_url":"https://api.github.com/users/matyhtf/repos","events_url":"https://api.github.com/users/matyhtf/events{/privacy}","received_events_url":"https://api.github.com/users/matyhtf/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T11:29:59Z","updated_at":"2015-03-17T11:29:59Z","body":"没明白你的意思。shutdown之后，会等待task执行完毕再退出。"}}