@nebius/js-sdk - v0.2.54
    Preparing search index...

    Type Alias CallCreator<TReq, TRes>

    CallCreator: (
        request: TReq,
        metadata: Metadata | undefined,
        options: Partial<CallOptions> | undefined,
        callback: (error: GrpcServiceError | null, response: TRes) => void,
    ) => ClientUnaryCall

    Defines the shape of a generated unary gRPC call function.

    Type Parameters

    • TReq
    • TRes

    Type Declaration

      • (
            request: TReq,
            metadata: Metadata | undefined,
            options: Partial<CallOptions> | undefined,
            callback: (error: GrpcServiceError | null, response: TRes) => void,
        ): ClientUnaryCall
      • Defines the shape of a generated unary gRPC call function.

        Parameters

        • request: TReq
        • metadata: Metadata | undefined
        • options: Partial<CallOptions> | undefined
        • callback: (error: GrpcServiceError | null, response: TRes) => void
            • (error: GrpcServiceError | null, response: TRes): void
            • Defines the shape of a generated unary gRPC call function.

              Parameters

              • error: GrpcServiceError | null
              • response: TRes

              Returns void

        Returns ClientUnaryCall