From 0083650fb72861334fdc8a7277d4c902bafc327d Mon Sep 17 00:00:00 2001 From: Oleg Jukovec Date: Thu, 18 Aug 2022 22:08:33 +0300 Subject: [PATCH] readme: add a note about identify() return value The call returns a string value instead of an object of type UUID. It is not obvious. The patch adds a note about it into README.md. Closes #182 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1a37a8e5..39b09c0f 100644 --- a/README.md +++ b/README.md @@ -479,6 +479,10 @@ with the UUID of the session. In case of attempt to use an invalid format UUID or expired UUID, an error will be thrown. +Be careful, UUID here is a 16-bit string generated by +[uuid.bin()](https://www.tarantool.io/en/doc/latest/reference/reference_lua/uuid/#lua-function.uuid.bin), +not an object of type UUID. + Usage example: Sometimes we need an ability to acknowledge a task after reconnect (because retrying it is undesirable) or even acknowlegde using another connection.