-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
Milestone
Description
This issue currently represents the task of unifying "spawning" functions across Handle, Remote and potentially other executors (like CPU pool).
Currently Handle::spawn takes a future where as Remote::spawn takes a fn.
Also, there are other questions to consider, such as #77
Original issue
It looks like spawn_fn already exists on Handle.
https://tokio-rs.github.io/tokio-core/tokio_core/reactor/struct.Handle.html#method.spawn_fn