docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate AsyncThunk<TArg, TPayload>

    The thunk task runner.

    Namespace: Unity.AppUI.Redux
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public delegate Task<TPayload> AsyncThunk<in TArg, TPayload>(IThunkAPI<in TArg, TPayload> api)
    Parameters
    Type Name Description
    IThunkAPI<TArg, TPayload> api

    The thunk API.

    Returns
    Type Description
    Task<TPayload>

    The task.

    Type Parameters
    Name Description
    TArg

    The type of the thunk argument.

    TPayload

    The type of the action payload.

    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)