platform/bin/cluster.dart
2016-12-24 11:12:50 -05:00

11 lines
232 B
Dart

/// 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);
}