init static method

Future<void> init({
  1. @Deprecated('The isolate pool is automatic and adaptive now; this argument is ignored (and web has no isolates anyway).') int? isolatePoolSize,
})

Initialises the runtime. On web there is no isolate pool to warm — this exists for API parity so main() code runs unchanged.

Implementation

static Future<void> init({
  @Deprecated('The isolate pool is automatic and adaptive now; this argument is ignored (and web has no isolates anyway).')
  int? isolatePoolSize,
}) async {
  _log(NitroLogLevel.verbose, 'init', 'web runtime ready (no isolate pool on web)');
}