pub fn from_name(app_name: String, message_adapter: MessageAdapter) -> Self {
        Settings {
            app_name,
            message_adapter,

            #[cfg(not(target_arch = "wasm32"))]
            pool: ThreadPool::new(4),
        }
    }
/// Creates a new `Settings` service with the given app name.
Creates a new `Settings` service with the given app name.
Creates a new ` Settings ` service with the given app name .
pub fn from_name(app_name: String, message_adapter: MessageAdapter) -> Self {
        Settings {
            app_name,
            message_adapter,
            #[cfg(not(target_arch = "wasm32"))]
            pool: ThreadPool::new(4),
        }
    }
pub fn from_name ( app_name : String , message_adapter : MessageAdapter ) -> Self { Settings { app_name , message_adapter , # [ cfg ( not ( target_arch " " ) ) ] pool : ThreadPool :: new ( 4 ) , } }
Creates a new `Settings` service with the given app name.
Creates a new ` Settings ` service with the given app name .
app_name
String
message_adapter
MessageAdapter