1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-08-20 21:35:37 +02:00

Allow to run future before server service initialization

This commit is contained in:
Nikolay Kim
2019-03-14 20:09:34 -07:00
parent f3aa48309f
commit d23dc6f6af
4 changed files with 43 additions and 6 deletions

View File

@@ -12,8 +12,8 @@ use num_cpus;
use tokio_timer::sleep;
use crate::accept::{AcceptLoop, AcceptNotify, Command};
use crate::config::{ConfiguredService, ServiceConfig};
use crate::server::{Server, ServerCommand};
use crate::service_config::{ConfiguredService, ServiceConfig};
use crate::services::{InternalServiceFactory, ServiceFactory, StreamNewService};
use crate::signals::{Signal, Signals};
use crate::worker::{self, Worker, WorkerAvailability, WorkerClient};