AgentApplication.StartTypingTimer(ITurnContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Manually start a timer to periodically send "typing" activities.
public void StartTypingTimer(Microsoft.Agents.Builder.ITurnContext turnContext);
member this.StartTypingTimer : Microsoft.Agents.Builder.ITurnContext -> unit
Public Sub StartTypingTimer (turnContext As ITurnContext)
Parameters
- turnContext
- ITurnContext
The turn context.
Remarks
The timer waits 1000ms to send its initial "typing" activity and then send an additional "typing" activity every 1000ms.The timer will automatically end once an outgoing activity has been sent. If the timer is already running or the current activity is not a "message" the call is ignored.