Philipp Rudiger

Results 1206 comments of Philipp Rudiger

Thanks for making that proposal explicit. That said, I'm -100 on overloading `pn.Param` like that 😃

Sorry I guess I should have considered ParamFunction too. There I could sort of see it but still think it could be quite unexpected.

>this PR updated accordingly. I'm not sure what you mean by that, are you saying that this guide currently does not use best practices?

>For example right now each time the app is autoreloaded a new worker thread is started and the old not stopped. Your comment in other issue about using on_session_destroyed does...

Ah sorry, I guess I'm following you. You're saying this guide demonstrates the shared worker thread and you want each session to subscribe and unsubscribe. That still should still be...

I guess, the missing piece is that you need a `--setup` script to start the worker thread.

You can use the cache to to share the thread instance. I appreciate the pursuit of "reducing friction" but you can't reduce all friction for every conceivable complex use case.

>The session is not the problem. The problem is that the external module is reimported on autoreload - thus starting another thread. Got it, that makes sense. I guess another...

A shared thread that processes queued events sounds very complex, that's really what the nthreads config option is for. >It does not explain how to stop the thread when the...