discontinuedPackage fluttersdk_artisan has been discontinued and replaced by dowel.

CdpWebServerReadyWaiter typedef

CdpWebServerReadyWaiter = Future<void> Function(File logFile, int timeoutSeconds)

Waits until the web-server log emits the "is being served at" line, for at most timeoutSeconds (the resolved --timeout). Used to inject a fake (instant-return) in tests so the CDP branch can be exercised without a real flutter process writing to the log.

Implementation

typedef CdpWebServerReadyWaiter = Future<void> Function(
  File logFile,
  int timeoutSeconds,
);