interface ModelListener {
    addModels: ((newVersions: Iterable<Model>, allVersions: Iterable<Model>) => void | Promise<unknown>);
    modelsHidden?: ((versionUuids: Iterable<string>) => void);
    modelsShown?: ((versionUuids: Iterable<string>) => void);
    removeModels: ((versions: Iterable<Model>) => void | Promise<unknown>);
}

Implemented by

    Properties

    addModels: ((newVersions: Iterable<Model>, allVersions: Iterable<Model>) => void | Promise<unknown>)

    TODO: write description

    Type declaration

      • (newVersions, allVersions): void | Promise<unknown>
      • Parameters

        • newVersions: Iterable<Model>

          The new versions that were added

        • allVersions: Iterable<Model>

          A list of all the currently loaded versions

        Returns void | Promise<unknown>

    modelsHidden?: ((versionUuids: Iterable<string>) => void)
    modelsShown?: ((versionUuids: Iterable<string>) => void)
    removeModels: ((versions: Iterable<Model>) => void | Promise<unknown>)

    TODO: write description