pub async fn test_server_with_worlds_and_config(
default_domain: String,
domains: &[ResolvedDomainConfig],
loaded_worlds: &[Arc<World>],
player_permission_states: PermissionSubjectIndex,
config: Arc<RuntimeConfig>,
) -> Result<Arc<Server>, String>Expand description
Builds a server around already loaded worlds without starting any server loops.
Used by Steel tests and by the Flint test adapter.