An event emitter can be used to create and manage an {@link Event} for others to subscribe to. One emitter always owns one event.
Use this class if you want to provide event from within your extension, for instance inside a {@link TextDocumentContentProvider} or when providing API to other extensions.