Lambda function without parameters - Cannot infer functional interface type

前端 未结 0 358
旧时难觅i
旧时难觅i 2021-01-13 16:28

I have a lambda function that doesn\'t require any parameter:

Observable.interval(5, TimeUnit.SECONDS)
  .subscribe(x -> new CryptoCompareRxService().getHi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题