docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IThunkAPI<TArg, TPayload>

    Thunk API definition with an argument passed when dispatching the thunk.

    Inherited Members
    IAPIInterceptor<TPayload>.RejectWithValue(TPayload)
    IAPIInterceptor<TPayload>.FulFillWithValue(TPayload)
    IThunkAPI.requestId
    IThunkAPI.isCancellationRequested
    IThunkAPI.cancellationToken
    IThunkAPI.store
    IThunkAPI.Abort(object)
    Namespace: Unity.AppUI.Redux
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public interface IThunkAPI<out TArg, in TPayload> : IThunkAPI<TPayload>, IAPIInterceptor<TPayload>, IThunkAPI
    Type Parameters
    Name Description
    TArg

    The type of the argument that the thunk has received.

    TPayload

    The type of the payload that the thunk will return.

    Properties

    arg

    The argument that the thunk has received when it was dispatched.

    Declaration
    TArg arg { get; }
    Property Value
    Type Description
    TArg

    Extension Methods

    AsyncThunkAPIExtensions.Dispatch(IThunkAPI, string)
    AsyncThunkAPIExtensions.Dispatch(IThunkAPI, ActionCreator)
    AsyncThunkAPIExtensions.Dispatch(IThunkAPI, IAction)
    AsyncThunkAPIExtensions.Dispatch<TPayload>(IThunkAPI, string, TPayload)
    AsyncThunkAPIExtensions.Dispatch<TPayload>(IThunkAPI, ActionCreator<TPayload>, TPayload)
    AsyncThunkAPIExtensions.GetState<TState>(IThunkAPI)
    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)