Theia API Documentation v1.77.0
    Preparing search index...
    interface DecorationsProvider {
        onDidChange: Event<URI[] | undefined>;
        provideDecorations(
            uri: URI,
            token: CancellationToken,
        ): Decoration | Promise<Decoration | undefined> | undefined;
    }

    Implemented by

    Index
    onDidChange: Event<URI[] | undefined>

    Signals that decorations changed for the given resources. Firing undefined is a flush event: all previously provided decorations may have changed, cached data is dropped and re-fetched on demand. The last known decorations keep being served until the re-fetch of their resource settles, so that displayed decorations do not blink out while the round trip is in flight.