{"action":"closed","issue":{"url":"https://api.github.com/repos/dogamak/xcbars/issues/45","repository_url":"https://api.github.com/repos/dogamak/xcbars","labels_url":"https://api.github.com/repos/dogamak/xcbars/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/dogamak/xcbars/issues/45/comments","events_url":"https://api.github.com/repos/dogamak/xcbars/issues/45/events","html_url":"https://github.com/dogamak/xcbars/issues/45","id":244770762,"node_id":"MDU6SXNzdWUyNDQ3NzA3NjI=","number":45,"title":"Replacing LoopFN with Interval","user":{"login":"chrisduerr","id":8886672,"node_id":"MDQ6VXNlcjg4ODY2NzI=","avatar_url":"https://avatars3.githubusercontent.com/u/8886672?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisduerr","html_url":"https://github.com/chrisduerr","followers_url":"https://api.github.com/users/chrisduerr/followers","following_url":"https://api.github.com/users/chrisduerr/following{/other_user}","gists_url":"https://api.github.com/users/chrisduerr/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisduerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisduerr/subscriptions","organizations_url":"https://api.github.com/users/chrisduerr/orgs","repos_url":"https://api.github.com/users/chrisduerr/repos","events_url":"https://api.github.com/users/chrisduerr/events{/privacy}","received_events_url":"https://api.github.com/users/chrisduerr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-21T20:08:56Z","updated_at":"2018-11-17T19:03:46Z","closed_at":"2018-11-17T19:03:46Z","author_association":"CONTRIBUTOR","body":"So recently when editing the network and window title components I've used `timer.interval_at` to start a loop. However the other components all use `LoopFn`. Why would I use `LoopFn` over `interval`?\r\n\r\nI don't quite understand why we need our own wrapper to loop and sleep when we can just use an interval. `interval_at` also allows us to start immediately using `time::Instant::now()` so we do not have to wait the specified time until the method is invoked the first time."}}
{"actor":{"display_login":"chrisduerr"}}