{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxJS/issues/838","labels_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/838/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/838/comments","events_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/838/events","html_url":"https://github.com/ReactiveX/RxJS/issues/838","id":119537900,"number":838,"title":"Scheduler name bike-shedding","user":{"login":"blesh","id":1540597,"avatar_url":"https://avatars.githubusercontent.com/u/1540597?v=3","gravatar_id":"","url":"https://api.github.com/users/blesh","html_url":"https://github.com/blesh","followers_url":"https://api.github.com/users/blesh/followers","following_url":"https://api.github.com/users/blesh/following{/other_user}","gists_url":"https://api.github.com/users/blesh/gists{/gist_id}","starred_url":"https://api.github.com/users/blesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blesh/subscriptions","organizations_url":"https://api.github.com/users/blesh/orgs","repos_url":"https://api.github.com/users/blesh/repos","events_url":"https://api.github.com/users/blesh/events{/privacy}","received_events_url":"https://api.github.com/users/blesh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ReactiveX/RxJS/labels/type:%20discussion","name":"type: discussion","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-11-30T17:17:02Z","updated_at":"2015-12-02T22:02:10Z","closed_at":null,"body":"Currently the trampoline scheduler is named `immediate`, and the microtask scheduler is named `nextTick`. There is als\r\n\r\nI propose that we rename `immediate` to `sync`. I say this because `immediate` sort of implies that the scheduled action is going to take place right away, and that's not *really* true. It's going to be bumped from it's current call stack and executed next, but synchronously.\r\n\r\nFor `nextTick`, it's a little more debatable, it's pretty aptly named, but I think it would be more descriptive if it were named `microtask`, because ultimately that's the goal. To schedule it as a microtask after the current frame but before things like `setTimeout`.\r\n\r\n... which brings me to another thing, we don't have a scheduler based off of `setTimeout` or `requestAnimationFrame`. The latter is DOM-specific, but given that we're modular now, I think there's grounds for including it in this library, it's an important scheduler.\r\n\r\nOnce we land on these names, I'll be writing some improved documentation on the matter."},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxJS/issues/comments/161447572","html_url":"https://github.com/ReactiveX/RxJS/issues/838#issuecomment-161447572","issue_url":"https://api.github.com/repos/ReactiveX/RxJS/issues/838","id":161447572,"user":{"login":"blesh","id":1540597,"avatar_url":"https://avatars.githubusercontent.com/u/1540597?v=3","gravatar_id":"","url":"https://api.github.com/users/blesh","html_url":"https://github.com/blesh","followers_url":"https://api.github.com/users/blesh/followers","following_url":"https://api.github.com/users/blesh/following{/other_user}","gists_url":"https://api.github.com/users/blesh/gists{/gist_id}","starred_url":"https://api.github.com/users/blesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blesh/subscriptions","organizations_url":"https://api.github.com/users/blesh/orgs","repos_url":"https://api.github.com/users/blesh/repos","events_url":"https://api.github.com/users/blesh/events{/privacy}","received_events_url":"https://api.github.com/users/blesh/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T22:02:10Z","updated_at":"2015-12-02T22:02:10Z","body":"`Scheduler.job`? Is `job` common enough vernacular?"}}