docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IAsyncThunkCreator<TArg, TPayload>

    Interface for an async thunk creator with argument.

    Namespace: Unity.AppUI.Redux
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public interface IAsyncThunkCreator<TArg, TPayload>
    Type Parameters
    Name Description
    TArg

    The type of the thunk argument.

    TPayload

    The type of the payload.

    Methods

    Invoke(TArg)

    Creates an async thunk.

    Declaration
    AsyncThunkAction<TArg, TPayload> Invoke(TArg arg)
    Parameters
    Type Name Description
    TArg arg

    The argument to pass to the thunk.

    Returns
    Type Description
    AsyncThunkAction<TArg, TPayload>

    The async thunk.

    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)