You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current CashImpl implementation of Cash SDK uses listeners to return the values.
It should be interesting to support co-routines instead of listeners.
For example:
fun login(network: BtcNetwork, phoneNumber: String, listener: Cash.WacCallback)
With co-routine
suspend fun login(network: BtcNetwork, phoneNumber: String): Result<WacCallback>
The text was updated successfully, but these errors were encountered:
The current
CashImpl
implementation ofCash
SDK uses listeners to return the values.It should be interesting to support co-routines instead of listeners.
For example:
With co-routine
The text was updated successfully, but these errors were encountered: