11 lines
286 B
Dart
11 lines
286 B
Dart
/// This should be used with `multiserver` as an entry
|
|
/// point for `spawnIsolates`.
|
|
library angel.cluster;
|
|
|
|
import 'dart:async';
|
|
import 'common.dart';
|
|
import 'dart:isolate';
|
|
|
|
main(args, SendPort sendPort) async {
|
|
runZoned(startServer(args, sendPort: sendPort), onError: onError);
|
|
}
|