mirror of https://github.com/fafhrd91/actix-net
Expose fn build_async in builder
Currently, the `System::run_in_tokio` method uses `build_async`, but `build_async` itself is not exposed. This hides certain customization options on the builder if a user would like to provide a tokio local set manually. Would it be OK to completely expose `build_async`?
This commit is contained in:
parent
7140c04c44
commit
90181cb3ef
|
@ -56,7 +56,7 @@ impl Builder {
|
|||
/// Create new System that can run asynchronously.
|
||||
///
|
||||
/// This method panics if it cannot start the system arbiter
|
||||
pub(crate) fn build_async(self, local: &LocalSet) -> AsyncSystemRunner {
|
||||
pub fn build_async(self, local: &LocalSet) -> AsyncSystemRunner {
|
||||
self.create_async_runtime(local)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue