docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IAPIInterceptor<TPayload>

    A Thunk API that can early reject or fulfill the thunk with a value.

    Namespace: Unity.AppUI.Redux
    Assembly: Unity.AppUI.Redux.dll
    Syntax
    public interface IAPIInterceptor<in TPayload>
    Type Parameters
    Name Description
    TPayload

    The type of the payload that the thunk will return.

    Methods

    FulFillWithValue(TPayload)

    Fulfills the thunk with a value.

    Declaration
    void FulFillWithValue(TPayload value)
    Parameters
    Type Name Description
    TPayload value

    The value to fulfill the thunk with.

    RejectWithValue(TPayload)

    Rejects the thunk with a reason.

    Declaration
    void RejectWithValue(TPayload value)
    Parameters
    Type Name Description
    TPayload value

    The reason for the rejection.

    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)