-
-
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
IRealtimeHook
interface with default implementationsModified
ShouldReconnect
method to accept message parameterImproved reconnection logic in
RealtimeHub
serviceMoved reconnection check to function call context
Diagram Walkthrough
File Walkthrough
IRealtimeHook.cs
Add default implementations to IRealtimeHook interface
src/Infrastructure/BotSharp.Abstraction/Realtime/IRealtimeHook.cs
ShouldReconnect
to acceptRoleDialogModel message
parameter[]
RealtimeHub.cs
Refactor reconnection logic in RealtimeHub service
src/Infrastructure/BotSharp.Core.Realtime/Services/RealtimeHub.cs
ShouldReconnect
call to pass message parameter