update

fun update(transform: (TypeCatalog) -> TypeCatalog)

Puts the catalog transform derives in the place of the current one.

It runs under lock, which a query load elsewhere may be holding.