Search Results for

    Show / Hide Table of Contents

    Interface IAgentDependency

    Interface for components that depend on an agent and require initialization and cleanup.

    Namespace: Glitch9.AIDevKit.Agents
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public interface IAgentDependency

    Methods

    | Edit this page View Source

    CancelAsync()

    Cancels any ongoing operations and cleans up resources.

    Declaration
    UniTask CancelAsync()
    Returns
    Type Description
    UniTask
    | Edit this page View Source

    InitWithAgentAsync(Agent, CancellationToken)

    Initializes this dependency with the given agent.

    Declaration
    UniTask InitWithAgentAsync(Agent agent, CancellationToken ct = default)
    Parameters
    Type Name Description
    Agent agent
    CancellationToken ct
    Returns
    Type Description
    UniTask

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation