mirror of
https://github.com/fafhrd91/actix-net
synced 2025-06-28 15:40:36 +02:00
rename method
This commit is contained in:
@ -215,7 +215,7 @@ impl ServiceRuntime {
|
||||
}
|
||||
|
||||
/// Execute future before services initialization.
|
||||
pub fn spawn<F>(&mut self, fut: F)
|
||||
pub fn on_start<F>(&mut self, fut: F)
|
||||
where
|
||||
F: Future<Item = (), Error = ()> + 'static,
|
||||
{
|
||||
|
Reference in New Issue
Block a user