nexus-rpc
    Preparing search index...

    Interface PartialOperation<I, O>Experimental

    A partial OperationDefinition that is used to define an operation in a ServiceDefinition.

    The difference between this and OperationDefinition is that the name is optional.

    interface PartialOperation<I, O> {
        "[inputBrand]": I;
        "[outputBrand]": O;
        inputType?: TypeInfo<I, unknown>;
        name?: string;
        outputType?: TypeInfo<O, unknown>;
    }

    Type Parameters

    • I
    • O
    Index

    Properties

    "[inputBrand]": I
    "[outputBrand]": O
    inputType?: TypeInfo<I, unknown>
    name?: string
    outputType?: TypeInfo<O, unknown>