docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IAsyncThunkAction

    Metadata for pending actions dispatched by async thunks.

    Namespace: Unity.AppUI.Redux
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public interface IAsyncThunkAction

    Methods

    ExecuteAsync(IDispatchable, CancellationToken)

    Executes the async thunk action.

    Declaration
    Task ExecuteAsync(IDispatchable store, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    IDispatchable store

    The store to dispatch the action to.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    A task that represents the asynchronous operation.

    ExecuteCoroutine(IDispatchable, CancellationToken)

    Executes the async thunk action as a coroutine.

    Declaration
    Coroutine ExecuteCoroutine(IDispatchable store, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    IDispatchable store

    The store to dispatch the action to.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Coroutine

    The coroutine.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)