Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala Scheduler Bindings Fix #817

Merged
merged 1 commit into from
Feb 5, 2014
Merged

Scala Scheduler Bindings Fix #817

merged 1 commit into from
Feb 5, 2014

Conversation

headinthebox
Copy link
Contributor

  • Updated schedulers to reflect 0.17 changes.
  • Add timer bindings

@cloudbees-pull-request-builder

RxJava-pull-requests #737 SUCCESS
This pull request looks good

benjchristensen added a commit that referenced this pull request Feb 5, 2014
@benjchristensen benjchristensen merged commit d4a0e7e into ReactiveX:master Feb 5, 2014
*/
def apply(): IOScheduler = {
new IOScheduler(rx.schedulers.Schedulers.computation())
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be ComputationScheduler I guess ;-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will fix that.

On Thu, Feb 6, 2014 at 11:27 AM, samuelgruetter [email protected]:

In
language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/schedulers/ComputationScheduler.scala:

+import rx.lang.scala.Scheduler
+
+
+object ComputationScheduler {

  • /**
  • * {@link Scheduler} intended for computational work.
  • *

  • * This can be used for event-loops, processing callbacks and other computational work.
  • *

  • * Do not perform IO-bound work on this scheduler. Use {@link IOScheduler()} instead.
  • * @return { @link Scheduler} for computation-bound work.
  • */
  • def apply(): IOScheduler = {
  • new IOScheduler(rx.schedulers.Schedulers.computation())
  • }

This should be ComputationScheduler I guess ;-)

Reply to this email directly or view it on GitHubhttps://github.com//pull/817/files#r9495519
.

@headinthebox headinthebox deleted the ScalaBindingsWithLift branch February 6, 2014 18:09
jihoonson pushed a commit to jihoonson/RxJava that referenced this pull request Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants