For those of you who use and love Panel but are no professionals like myself here’s a little help for Async and Concurrency. It’s a “bit more” straightforward than the official user guide’s description.
Please, see code snippet and link below for details. Tried and tested on Heroku.
@unsync async def unsync_async(): await asyncio.sleep(0.1) return 'I like decorators' unsync_async().result()
To give you an idea…
Declare a widget with placeholder info for initial load then in the background run and async function to update its value/object/etc.