run
abstract fun run(config: KernelConfig, loggerFactory: KernelLoggerFactory, setup: (JupyterServerImplSockets) -> Iterable<Closeable>)
Opens sockets, runs setup and then runs the server, blocking the thread. The server is stopped when one of the callbacks (see JupyterServerImplSockets) throws InterruptedException. Closable resources returned from setup are closed on shutdown.