Register a listener to be called when a discontinuity is detected.
The listener to be called when a discontinuity is detected.
A response that allows control of the subscription.
Start indicates that the current user is typing. This will emit a typingStarted event to inform listening clients and begin a timer, once the timer expires, a typingStopped event will be emitted. The timeout is configurable through the typingTimeoutMs parameter. If the current user is already typing, it will reset the timer and being counting down again without emitting a new event.
A promise which resolves upon success of the operation and rejects with an ErrorInfo object upon its failure.
Stop indicates that the current user has stopped typing. This will emit a typingStopped event to inform listening clients, and immediately clear the typing timeout timer.
A promise which resolves upon success of the operation and rejects with an ErrorInfo object upon its failure.
Subscribe a given listener to all typing events from users in the chat room.
A listener to be called when the typing state of a user in the room changes.
A response object that allows you to control the subscription to typing events.
This interface is used to interact with typing in a chat room including subscribing to typing events and fetching the current set of typing clients.
Get an instance via Room.typing.