Function onDidCreateModel

onDidCreateModel(
    listener: (model: ITextModel) => void,
): IDisposable

Emitted when a model is created.