Multiple function calls with streaming

Thanks, please take a look on this thread below.
Maybe that code from it could be also adapted for the streaming version.