platform/bin/cluster.dart

12 lines
232 B
Dart
Raw Normal View History

2016-12-24 16:12:50 +00:00
/// This should be used with `multiserver` as an entry
/// point for `spawnIsolates`.
library angel.cluster;
import 'dart:async';
import 'common.dart';
main() async {
runZoned(startServer(clustered: true), onError: onError);
}