On Tuesday, February 13, 2018 at 1:43:11 PM UTC-8, Ramos wrote: > > but the idea is to get some of the data as it is being calculated in the > controller. >
For that I would use a stream. There are a couple of examples that have popped up here on occasion, although I can't at the moment link to them. Which stream module you use may depend on whether your results are text/html, or binary data (like a video). I think I have an example at home for that I used for returning a jpg, but my glasses aren't good enough to see it from here. /dps > > 2018-02-13 21:38 GMT+00:00 黄祥 <[email protected] <javascript:>>: > >> just an idea, perhaps you can use loading animation (javascript, etc) in >> the view during waiting the long awaited data so that the user dont get >> bored, after the data is calculated, you can show the data in the view >> (replace the loading animation). >> >> best regards, >> stifan >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

