corda / net.corda.core.serialization / SerializationFactory / withCurrentContext

withCurrentContext

fun <T> withCurrentContext(context: SerializationContext?, block: () -> T): T

Change the current context inside the block to that supplied.