{"action":"created","issue":{"url":"https://api.github.com/repos/uNetworking/uWebSockets/issues/780","repository_url":"https://api.github.com/repos/uNetworking/uWebSockets","labels_url":"https://api.github.com/repos/uNetworking/uWebSockets/issues/780/labels{/name}","comments_url":"https://api.github.com/repos/uNetworking/uWebSockets/issues/780/comments","events_url":"https://api.github.com/repos/uNetworking/uWebSockets/issues/780/events","html_url":"https://github.com/uNetworking/uWebSockets/pull/780","id":350663759,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NDU3ODIy","number":780,"title":"Add run_one method to Libuv and Asio","user":{"login":"Tai7sy","id":12840640,"node_id":"MDQ6VXNlcjEyODQwNjQw","avatar_url":"https://avatars2.githubusercontent.com/u/12840640?v=4","gravatar_id":"","url":"https://api.github.com/users/Tai7sy","html_url":"https://github.com/Tai7sy","followers_url":"https://api.github.com/users/Tai7sy/followers","following_url":"https://api.github.com/users/Tai7sy/following{/other_user}","gists_url":"https://api.github.com/users/Tai7sy/gists{/gist_id}","starred_url":"https://api.github.com/users/Tai7sy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tai7sy/subscriptions","organizations_url":"https://api.github.com/users/Tai7sy/orgs","repos_url":"https://api.github.com/users/Tai7sy/repos","events_url":"https://api.github.com/users/Tai7sy/events{/privacy}","received_events_url":"https://api.github.com/users/Tai7sy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-15T02:24:34Z","updated_at":"2018-08-25T01:58:38Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/uNetworking/uWebSockets/pulls/780","html_url":"https://github.com/uNetworking/uWebSockets/pull/780","diff_url":"https://github.com/uNetworking/uWebSockets/pull/780.diff","patch_url":"https://github.com/uNetworking/uWebSockets/pull/780.patch"},"body":"Add run_one method to Libuv, Asio.\r\nEpoll not"},"comment":{"url":"https://api.github.com/repos/uNetworking/uWebSockets/issues/comments/415923284","html_url":"https://github.com/uNetworking/uWebSockets/pull/780#issuecomment-415923284","issue_url":"https://api.github.com/repos/uNetworking/uWebSockets/issues/780","id":415923284,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTkyMzI4NA==","user":{"login":"Tai7sy","id":12840640,"node_id":"MDQ6VXNlcjEyODQwNjQw","avatar_url":"https://avatars2.githubusercontent.com/u/12840640?v=4","gravatar_id":"","url":"https://api.github.com/users/Tai7sy","html_url":"https://github.com/Tai7sy","followers_url":"https://api.github.com/users/Tai7sy/followers","following_url":"https://api.github.com/users/Tai7sy/following{/other_user}","gists_url":"https://api.github.com/users/Tai7sy/gists{/gist_id}","starred_url":"https://api.github.com/users/Tai7sy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tai7sy/subscriptions","organizations_url":"https://api.github.com/users/Tai7sy/orgs","repos_url":"https://api.github.com/users/Tai7sy/repos","events_url":"https://api.github.com/users/Tai7sy/events{/privacy}","received_events_url":"https://api.github.com/users/Tai7sy/received_events","type":"User","site_admin":false},"created_at":"2018-08-25T01:58:38Z","updated_at":"2018-08-25T01:58:38Z","author_association":"NONE","body":"I start many servers and stop some when receive some message. But there is no stop method(and it maybe hard to force terminate a server in another thread safely). \r\nIn the beginning, I use while/poll/Sleep so i can break the whileloop when needed, then I found a run_one would be better, because it use the eventloop in libuv(or some other) rather than a stupid Sleep.\r\nWhat's more, I think these i/o libraries support runOne, so there must be some situation we can use it."}}
{"actor":{"display_login":"Tai7sy"}}