docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AsyncThunkCreatorBase<TArg, TPayload>

    The async thunk action creator.

    Inheritance
    object
    AsyncThunkCreatorBase<TArg, TPayload>
    AsyncThunkCreator<TArg, TPayload>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AppUI.Redux
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public abstract class AsyncThunkCreatorBase<TArg, TPayload>
    Type Parameters
    Name Description
    TArg

    The type of the thunk argument.

    TPayload

    The type of the payload.

    Constructors

    AsyncThunkCreatorBase(string, AsyncThunk<TArg, TPayload>, AsyncThunkOptions<TArg>)

    Creates a new async thunk action creator.

    Declaration
    protected AsyncThunkCreatorBase(string type, AsyncThunk<TArg, TPayload> runner, AsyncThunkOptions<TArg> options = null)
    Parameters
    Type Name Description
    string type

    The type of the action.

    AsyncThunk<TArg, TPayload> runner

    The async thunk runner.

    AsyncThunkOptions<TArg> options

    The options for the async thunk.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when the type or runner is null or empty.

    Properties

    fulfilled

    The action creator for the fulfilled action.

    Declaration
    public FulfilledActionCreator<TPayload> fulfilled { get; }
    Property Value
    Type Description
    FulfilledActionCreator<TPayload>

    pending

    The action creator for the pending action.

    Declaration
    public PendingActionCreator<TPayload> pending { get; }
    Property Value
    Type Description
    PendingActionCreator<TPayload>

    rejected

    The action creator for the rejected action.

    Declaration
    public RejectedActionCreator<TPayload> rejected { get; }
    Property Value
    Type Description
    RejectedActionCreator<TPayload>

    type

    The type of the action.

    Declaration
    public string type { get; }
    Property Value
    Type Description
    string
    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)