docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AsyncThunkCreator<TPayload>

    The async thunk action creator for a thunk without arguments.

    Inheritance
    object
    AsyncThunkCreatorBase<bool, TPayload>
    AsyncThunkCreator<bool, TPayload>
    AsyncThunkCreator<TPayload>
    Implements
    IAsyncThunkCreator<bool, TPayload>
    IAsyncThunkCreator<TPayload>
    Inherited Members
    AsyncThunkCreator<bool, TPayload>.Invoke(bool)
    AsyncThunkCreatorBase<bool, TPayload>.type
    AsyncThunkCreatorBase<bool, TPayload>.pending
    AsyncThunkCreatorBase<bool, TPayload>.fulfilled
    AsyncThunkCreatorBase<bool, TPayload>.rejected
    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 class AsyncThunkCreator<TPayload> : AsyncThunkCreator<bool, TPayload>, IAsyncThunkCreator<bool, TPayload>, IAsyncThunkCreator<TPayload>
    Type Parameters
    Name Description
    TPayload

    The type of the payload.

    Constructors

    AsyncThunkCreator(string, AsyncThunk<TPayload>, AsyncThunkOptions<bool>)

    Creates a new async thunk action creator.

    Declaration
    public AsyncThunkCreator(string type, AsyncThunk<TPayload> runner, AsyncThunkOptions<bool> options = null)
    Parameters
    Type Name Description
    string type

    The type of the action.

    AsyncThunk<TPayload> runner

    The async thunk runner.

    AsyncThunkOptions<bool> options

    The options for the async thunk.

    Methods

    Invoke()

    Creates an async thunk.

    Declaration
    public AsyncThunkAction<TPayload> Invoke()
    Returns
    Type Description
    AsyncThunkAction<TPayload>

    The async thunk.

    Implements

    IAsyncThunkCreator<TArg, TPayload>
    IAsyncThunkCreator<TPayload>
    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)