in lib/eventstream_rpc.ts [900:913]
constructor(private request: RequestType, private operationConfig: OperationConfig, private serviceModel: EventstreamRpcServiceModel) {
if (!serviceModel.operations.has(operationConfig.name)) {
throw createRpcError(RpcErrorType.InternalError, `service model has no operation named ${operationConfig.name}`);
}
if (!operationConfig.options.disableValidation) {
validateRequest(serviceModel, operationConfig.name, request);
}
super();
this.operation = new OperationBase(operationConfig);
this.responseHandled = false;
}