InMemoryMimeTypedResult
class InMemoryMimeTypedResult(val inMemoryOutput: InMemoryResult, val fallbackResult: Map<String, JsonElement>) : DisplayResult
Wrapper for DisplayResults that contain in memory results. This is only applicable to the embedded server.
Parameters
inMemoryOutput
the in-memory result + its mime-type that tells the client how to render it.
fallbackResult
fallback output the client can use as a placeholder for the in-memory result, if it is no longer available. Like when saving the notebook to disk.
Functions
Link copied to clipboard
Renders display result, generally should return this
Link copied to clipboard
Convenience method for converting nullable DisplayResult to JSON
Link copied to clipboard