logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IAppReadinessGate

    App readiness gate.
    It blocks until the system is preloaded and stable to execute the first scene/action.

    Namespace: Serenity.Global.Application.Interfaces
    Assembly: Serenity.Global.Application.dll
    Syntax
    public interface IAppReadinessGate

    Methods

    WaitUntilReadyAsync(AppReadinessOptions, CancellationToken)

    Waits until the app is ready.

    Declaration
    Task WaitUntilReadyAsync(AppReadinessOptions options, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    AppReadinessOptions options

    Options for configuring the readiness check

    CancellationToken cancellationToken

    Token to monitor for cancellation requests

    Returns
    Type Description
    Task
    In this article
    © 2026 Serenity. All Rights Reserved