Removing lifetime parameter for Executor and LocalExecutor
IGreyGooI opened this issue · comments
What is the point of it? It is not reasonable to statically track the lifetime of Executor which only contain a Arc.
IIUC, this is needed to spawn a non-static future: f9e28cd
Lines 68 to 69 in dacd4db
Line 76 in dacd4db
See also safety requirements of async_task::spawn_unchecked