spawn static method
Implementation
static Future<MultiIsolateServer> spawn(
int isolates,
Future<Server> Function(SendPort?) spawn, {
required Uri url,
Logger? logger,
}) async {
var multiIsolateServer = MultiIsolateServer(url, logger);
await multiIsolateServer.start(isolates, spawn);
return multiIsolateServer;
}