ServerCluster constructor

ServerCluster({
  1. int port = 8080,
  2. int instances = 0,
  3. FutureOr<void> globalBootstrap()?,
  4. void onInit(
    1. Server server
    )?,
})

Implementation

ServerCluster({
  this.port = 8080,
  this.instances = 0,
  this.globalBootstrap,
  this.onInit,
});