diff --git a/README.md b/README.md index 57284d9..e7cec03 100644 --- a/README.md +++ b/README.md @@ -112,8 +112,8 @@ Observable result = Hawk.putObservable(key, T); // Returns the result a example usage ```java Hawk.putObservable(KEY, new Foo()) - .observeOn(Schedulers.io()) - .subscribeOn(AndroidSchedulers.mainThread()) + .subscribeOn(Schedulers.computation()) + .observeOn(AndroidSchedulers.mainThread()) .subscribe(new Subscriber() { @Override public void onCompleted() { @@ -153,8 +153,8 @@ Observable result = Hawk.getObservable(key, T); example usage ```java Hawk.getObservable(KEY) - .observeOn(Schedulers.io()) - .subscribeOn(AndroidSchedulers.mainThread()) + .subscribeOn(Schedulers.computation()) + .observeOn(AndroidSchedulers.mainThread()) .subscribe(new Subscriber() { @Override public void onCompleted() {