RxSwiftCommunity / RxFirebase

RxSwift extensions for Firebase
MIT License
224 stars 66 forks source link

How about using `Single` instead of `Observable`? #18

Closed geonu1109 closed 4 years ago

geonu1109 commented 5 years ago

In the RxFirebase/Sources/Database/FIRDatabaseQuery+Rx.swift file, the observeSingleEvent method returns only one result value, but the return type is Observable instead of Single. I suggest changing this to Single.

arnauddorgans commented 5 years ago

You are right 👍 i'll work on it on the next release

luiszheng0627 commented 4 years ago

thank you @acecilia you solved this issue too on v0.3.8!