From my reading of the code, Compat futures will unconditionally create and enter a new single-threaded tokio runtime. This seems potentially inefficient if a tokio runtime (maybe a multi-threaded one) already exists.
Would it be possible to check if a runtime already exists before entering a new one?
From my reading of the code,
Compat
futures will unconditionally create and enter a new single-threaded tokio runtime. This seems potentially inefficient if a tokio runtime (maybe a multi-threaded one) already exists.Would it be possible to check if a runtime already exists before entering a new one?