docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class AsyncThunkAction<TPayload, TThunkArg>

    An action created by an async thunk action creator.

    Inheritance
    object
    Action
    Action<TThunkArg>
    AsyncThunkAction<TPayload, TThunkArg>
    Implements
    IEquatable<Action>
    IEquatable<Action<TThunkArg>>
    IEquatable<AsyncThunkAction<TPayload, TThunkArg>>
    Inherited Members
    Action<TThunkArg>.payload
    Action.type
    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 record AsyncThunkAction<TPayload, TThunkArg> : Action<TThunkArg>, IEquatable<Action>, IEquatable<Action<TThunkArg>>, IEquatable<AsyncThunkAction<TPayload, TThunkArg>>
    Type Parameters
    Name Description
    TPayload

    The type of the payload.

    TThunkArg

    The type of the argument to pass to the thunk.

    Constructors

    AsyncThunkAction(AsyncThunkActionCreator<TPayload, TThunkArg>, string, TThunkArg)

    An action created by an async thunk action creator.

    Declaration
    public AsyncThunkAction(AsyncThunkActionCreator<TPayload, TThunkArg> creator, string type, TThunkArg payload)
    Parameters
    Type Name Description
    AsyncThunkActionCreator<TPayload, TThunkArg> creator

    The creator of the action.

    string type

    The type of the action.

    TThunkArg payload

    The payload of the action.

    Implements

    IEquatable<T>
    IEquatable<T>
    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2024 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)