Top.Mail.Ru
box.session.sync() | Tarantool
 

box.session.sync()

box.session.sync()

box.session.sync()
Return:the value of the sync integer constant used in the binary protocol. This value becomes invalid when the session is disconnected.
Rtype:number

This function is local for the request, i.e. not global for the session. If the connection behind the session is multiplexed, this function can be safely used inside the request processor.