RXSwift中take

2021-12-09  本文已影响0人  太平洋_cfd2

btn.rx.tap.take(1)
只响应一次
take(n)
该方法实现仅发送 Observable 序列中的前 n 个事件

上一篇 下一篇

猜你喜欢

热点阅读