execute

fun <T> execute(player: Player, operation: () -> T): T(source)

Enters the player's UI execution owner for state and session access without changing the native region. Async callers must first schedule on the player; this method never grants access to another entity's region.