open

abstract fun open(ownerPlugin: Any, player: Player, definition: () -> UiDefinition): CompletableFuture<UiSession>(source)

Constructs a definition and its state on the UI thread before transferring ownership.