spawn is documented to be single-threaded, but multi-threaded async execution is ubiquitous enough in the Rust ecosystem that it is easy to miss (or forget, even for people who really ought to know better 😐) the important distinction. Renaming the function could be a nice signal to users that this may not be the spawn they are looking for used to, and the semantics of the operation are significantly closer to what other Rust async executors call spawn_local.
spawnis documented to be single-threaded, but multi-threaded async execution is ubiquitous enough in the Rust ecosystem that it is easy to miss (or forget, even for people who really ought to know better 😐) the important distinction. Renaming the function could be a nice signal to users that this may not be thespawnthey arelooking forused to, and the semantics of the operation are significantly closer to what other Rust async executors callspawn_local.