org.jetbrains.kotlinx.jupyter.messaging.MessageFactoryProviderImpl.kt Maven / Gradle / Ivy
package org.jetbrains.kotlinx.jupyter.messaging
import org.jetbrains.kotlinx.jupyter.api.libraries.RawMessage
import org.jetbrains.kotlinx.jupyter.util.UpdatableProviderImpl
class MessageFactoryProviderImpl : MessageFactoryProvider, UpdatableProviderImpl() {
override fun update(rawMessage: RawMessage) {
update(
MessageFactoryImpl().apply {
updateSessionInfo(rawMessage)
updateContextMessage(rawMessage)
},
)
}
}