euporie.notebook.tabs.display.run_in_thread_with_context

euporie.notebook.tabs.display.run_in_thread_with_context(func: Callable, *args: Any, daemon: bool = True, **kwargs: Any) None

Run a function in an thread, but make sure it uses the same contextvars.

This is required so that the function will see the right application.