start method
Implementation
Future<void> start() async {
final count = instances > 0 ? instances : Platform.numberOfProcessors;
for (int i = 0; i < count; i++) {
await _spawnWorker(i);
}
if (globalBootstrap != null) {
await globalBootstrap!.call();
}
Khadem.logger.info(
'🔥 Server cluster started on http://localhost:$port with $count isolates [PID: $pid]',
);
}