Package-level declarations

Types

Link copied to clipboard
object VelocityUi

Application API supplied by the installed Strata Velocity plugin. Construct owner-thread state inside open, and queue external state or session access through execute. Never block the UI thread on returned futures. Plugin events contain snapshots and do not block UI processing.

Link copied to clipboard

Installed runtime boundary that queues operations on the dedicated UI thread.

Functions

Link copied to clipboard
fun UiDefinition.open(ownerPlugin: Any, player: Player): CompletableFuture<UiSession>

Queues an available definition through the installed Strata Velocity runtime. Create state inside VelocityUi.open or VelocityUi.execute; constructing mutable state on an event thread is unsupported.