-
-
Notifications
You must be signed in to change notification settings - Fork 582
Update IRealtimeHook #1121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update IRealtimeHook #1121
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
PR Type
Enhancement
Description
Enhanced
IRealtimeHookinterface with default implementationsModified
ShouldReconnectmethod to accept message parameterImproved reconnection logic in
RealtimeHubserviceMoved reconnection check to function call context
Diagram Walkthrough
File Walkthrough
IRealtimeHook.cs
Add default implementations to IRealtimeHook interfacesrc/Infrastructure/BotSharp.Abstraction/Realtime/IRealtimeHook.cs
ShouldReconnectto acceptRoleDialogModel messageparameter[]RealtimeHub.cs
Refactor reconnection logic in RealtimeHub servicesrc/Infrastructure/BotSharp.Core.Realtime/Services/RealtimeHub.cs
ShouldReconnectcall to pass message parameter