Wish [B4X] Ensure ”sender” value is always returned in Libs to enable Resumable Subs

Sandman

Expert
Licensed User
Longtime User
This Wish springs from this topic:

Not possible to use Wait For with OkHttpResponse.StreamFinish?
https://www.b4x.com/android/forum/t...t-for-with-okhttpresponse-streamfinish.97620/

It’s absolutely not the end of the world if I can’t always use Resumable Subs.

That said, if all libraries returned the ”sender” object so we could use them as Resumable Subs, it would promote the modern way of coding, and also remove cognitive load (by not having to remember the exceptions).

A humble suggestion would be to start with OkHttpResponse.
 
Top