killAll method

void killAll({
  1. bool now = false,
})

kill all the isolate. With now they stop at once, not at their next event.

Implementation

void killAll({bool now = false}) {
  killIsolates(now: now);
  RateLimitCounter.instance.close();
  SessionMemoryStore.instance.close();
  IsolateBus.instance.close();
}