我是Rx-java的新手,我正在尝试理解replay() autoConnect()是如何工作的。我的代码中有以下情况,我想让代价高昂的操作更有效率。System.out.println("Expensive operation for " + s); }).toObservable().replaygot: EventExpensive operation for EventSub2 go
message => /* the error i think is here but im not realy sure the error said (TypeError: message.replayenter code here`is not a function ) */{
message.replay('hello