Table of Contents

Interface IRunLoop

Namespace
Xui.Core.Actual
Assembly
Core.dll

Represents a platform-specific run loop responsible for driving the application's lifecycle. Each platform must provide an implementation that enters the appropriate system event loop and continues running until the application exits.

The Xui runtime uses this interface to abstract over platform differences in event dispatch and app execution.

public interface IRunLoop

Methods

Run()

Starts the main run loop for the application. This method may block until the application terminates or exits naturally. On platforms with built-in UI event loops (e.g., iOS, Android), this method may return immediately after bootstrapping the application delegate.

int Run()

Returns

int

The application’s exit code.