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

Discussion in 'Bugs & wishlist' started by Sandman, Sep 27, 2018.

  1. Sandman

    Sandman Well-Known Member Licensed 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.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The updated library will be included in the next version of B4A and B4J.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice