davidmoten / davidmoten/rxjava2-file

Readme code seems to not run

Open
#5 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
15
Forks
0
Avg merge
2m
Merged PRs (30d)
2

Description

![image](https://user-images.githubusercontent.com/342468/80320036-e524b180-87e1-11ea-9f48-4e97d54285de.png)

Copy and pasting from the readme leads to this type error.
`incompatible types: io.reactivex.Flowable cannot be converted to io.reactivex.Observable>`

Am I missing something?

I was able to get it to work using `.events` by using Observable.interval and then mapping it to a custom `WatchEvent.` (it wasn't happy with returning `StandardWatchEventKinds.*` but still this somehow seems incongruent with your example.

![image](https://user-images.githubusercontent.com/342468/80321320-27ea8780-87ea-11ea-91b5-2dac0155e8af.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.