create<G extends Grunt> static method
Future<Supervisor<Grunt> >
create<G extends Grunt>(
- GruntFactory<
G> entry, { - bool debug = false,
- required bool isProduction,
Implementation
static Future<Supervisor> create<G extends Grunt>(GruntFactory<G> entry,
{bool debug = false, required bool isProduction}) async {
return debug == true
? Supervisor.debug(entry)
: Supervisor(
gruntType: G,
grunt: await createGruntChannel(entry, isProduction: isProduction));
}