Search Results for

    Show / Hide Table of Contents

    Interface IChain<TInput, TOutput>

    Generic Chain

    Namespace: DotnetPrompt.Abstractions.Chains
    Assembly: DotnetPrompt.Abstractions.dll
    Syntax
    public interface IChain<TInput, TOutput>
    Type Parameters
    Name Description
    TInput
    TOutput
    Remarks

    Experimental, not yet used

    Properties

    | Improve this Doc View Source

    InputBlock

    Declaration
    ITargetBlock<TInput> InputBlock { get; }
    Property Value
    Type Description
    ITargetBlock<TInput>
    | Improve this Doc View Source

    OutputBlock

    Declaration
    ISourceBlock<TOutput> OutputBlock { get; }
    Property Value
    Type Description
    ISourceBlock<TOutput>

    Methods

    | Improve this Doc View Source

    Cancel()

    Cancel Chain execution

    Declaration
    void Cancel()
    | Improve this Doc View Source

    Run(TInput)

    Declaration
    bool Run(TInput message)
    Parameters
    Type Name Description
    TInput message
    Returns
    Type Description
    bool
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright 2023 © Pavel «xakpc» Osadchuk for DotnetPrompt