createGruntChannel function

Future<DuplexChannel> createGruntChannel(
  1. GruntFactory<Grunt> factory, {
  2. required bool isProduction,
})

For web, creates a webworker and establishes the bidirectional communication channel:

  • kDebug=true bootstraps the grunt file by executing boostrap_dev.js with a grl parameter that points to the URL of the grunt dart file
  • kDebug=false loads the full executable javascript file X.grunt.lib.dart.js

Implementation

Future<DuplexChannel> createGruntChannel(GruntFactory factory,
        {required bool isProduction}) =>
    throw "Not implemented";