Also, since the method needs a callback instead of having a return value, it might call the lambda asychronously.
So your return value might sometimes or always be an empty string right now.
Cheers,
_
Also, since the method needs a callback instead of having a return value, it might call the lambda asychronously.
So your return value might sometimes or always be an empty string right now.
Cheers,
_
I've noticed that and I've been wondering what courses it. Is there a better solution then? One that is not going to return an empty string.
Well, theoretically a nested event loop.
But better would of course be to not force a synchronous behavior onto an asynchronous operation.
Cheers,
_
Bookmarks