You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we call Session.send, the code flow will eventually reach ConsoleConnector.send. As this function does not call the provided callback (unlike ChatConnector.send), session.sendingBatch will not be reset to false, and subsequent calls to Session.send will be ignored (due to the check in Session.startBatch).
Note: without the timeout this issue will not arise, as Session does automatic batching inside the time interval defined by autoBatchDelay (for which the default is 250ms).
The text was updated successfully, but these errors were encountered:
The code below sends only one message instead of two.
When we call
Session.send
, the code flow will eventually reachConsoleConnector.send
. As this function does not call the provided callback (unlikeChatConnector.send
),session.sendingBatch
will not be reset tofalse
, and subsequent calls toSession.send
will be ignored (due to the check inSession.startBatch
).Note: without the timeout this issue will not arise, as
Session
does automatic batching inside the time interval defined byautoBatchDelay
(for which the default is 250ms).The text was updated successfully, but these errors were encountered: