I have a setup where a user clicks a button, and a long process starts running based on a function call from a callback. I.E.:
def long_running_function():
print("Output here.")
print("Output here too.")
@app.callback(Output('yada','yada'),
[Input('button','n_clicks')])
def run_process():
long_running_function()
Is there a way to display the print
calls from the long_running_function
in the Dash interface in realtime so the user knows a process is happening, and what it is?