openComm

abstract fun openComm(target: String, data: JsonObject = Json.EMPTY): Comm

Creates a comm with a given target, generates unique ID for it. Sends comm_open request to frontend

Return

Created comm

Parameters

target

Target to create comm for. Should be registered on frontend side.

data

Content of comm_open message