onCompilationCacheProduced property

Stream<CompilationCacheProducedEvent> get onCompilationCacheProduced

Issued for every compilation cache generated. Is only available if Page.setGenerateCompilationCache is enabled.

Implementation

Stream<CompilationCacheProducedEvent> get onCompilationCacheProduced =>
    _client.onEvent
        .where((event) => event.name == 'Page.compilationCacheProduced')
        .map((event) =>
            CompilationCacheProducedEvent.fromJson(event.parameters));