RuntimeContext

interface RuntimeContext

Public collaboration boundary for components managed by a Wow runtime.

Components use this context to track complete asynchronous operations and report terminal failures. Runtime orchestration operations such as quiescing and force-close remain internal.

Functions

Link copied to clipboard
abstract fun reportFailure(error: Throwable)

Reports a terminal component failure to the owning runtime.

Link copied to clipboard
abstract fun tryAcquire(): RuntimeActivity?

Attempts to admit one complete asynchronous operation.