`Executor::spawn_blocking()` takes a `F: FnOnce() ...
# development
h
Executor::spawn_blocking()
takes a
F: FnOnce() -> R
, whereas
block_on()
and
spawn()
take a
Future
. Do you know why
spawn_blocking
doesn't take a Future?
cc @average-vr-56795 if you're still around
a
Yeah, it's a thin little wrapper 🙂