aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorildar-khisam <ikhis@ydb.tech>2023-12-14 11:03:03 +0300
committerildar-khisam <ikhis@ydb.tech>2023-12-14 12:04:23 +0300
commit43dc05a0db743e0c219e92c4ef5a8c0bf5bb82e7 (patch)
tree9f1718dba184f35d78a38b0bdeeb308f3f036329
parent9f628a1d9f709095a93415ca5387a7c9bc47a32c (diff)
downloadydb-43dc05a0db743e0c219e92c4ef5a8c0bf5bb82e7.tar.gz
fix typo in public method name
make both method names work
-rw-r--r--ydb/public/sdk/cpp/client/ydb_persqueue_core/persqueue.h3
-rw-r--r--ydb/public/sdk/cpp/client/ydb_topic/topic.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/ydb/public/sdk/cpp/client/ydb_persqueue_core/persqueue.h b/ydb/public/sdk/cpp/client/ydb_persqueue_core/persqueue.h
index e7fe810460..42b4b1e803 100644
--- a/ydb/public/sdk/cpp/client/ydb_persqueue_core/persqueue.h
+++ b/ydb/public/sdk/cpp/client/ydb_persqueue_core/persqueue.h
@@ -1139,6 +1139,9 @@ struct TWriteSessionSettings : public TRequestSettings<TWriteSessionSettings> {
//! If this handler is set, write these events will be handled by handler,
//! otherwise sent to TWriteSession::GetEvent().
FLUENT_SETTING(TReadyToAcceptHandler, ReadyToAcceptHandler);
+ TSelf& ReadyToAcceptHander(const TReadyToAcceptHandler& value) {
+ return ReadyToAcceptHandler(value);
+ }
//! Function to handle close session events.
//! If this handler is set, close session events will be handled by handler
diff --git a/ydb/public/sdk/cpp/client/ydb_topic/topic.h b/ydb/public/sdk/cpp/client/ydb_topic/topic.h
index 546483d088..cdef92ad5c 100644
--- a/ydb/public/sdk/cpp/client/ydb_topic/topic.h
+++ b/ydb/public/sdk/cpp/client/ydb_topic/topic.h
@@ -1370,6 +1370,9 @@ struct TWriteSessionSettings : public TRequestSettings<TWriteSessionSettings> {
//! If this handler is set, write these events will be handled by handler,
//! otherwise sent to TWriteSession::GetEvent().
FLUENT_SETTING(TReadyToAcceptHandler, ReadyToAcceptHandler);
+ TSelf& ReadyToAcceptHander(const TReadyToAcceptHandler& value) {
+ return ReadyToAcceptHandler(value);
+ }
//! Function to handle close session events.
//! If this handler is set, close session events will be handled by handler