From 1ac7330e0b5746a76f3ee715bf4ecb99bd8f302e Mon Sep 17 00:00:00 2001 From: mookrs Date: Fri, 29 Dec 2023 15:56:36 +0800 Subject: [PATCH] [#4043] fixed typos in godoc comments --- core/app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/app.go b/core/app.go index 24e573f6..f1dad330 100644 --- a/core/app.go +++ b/core/app.go @@ -291,14 +291,14 @@ type App interface { // SSE client connection. OnRealtimeDisconnectRequest() *hook.Hook[*RealtimeDisconnectEvent] - // OnRealtimeBeforeMessage hook is triggered right before sending + // OnRealtimeBeforeMessageSend hook is triggered right before sending // an SSE message to a client. // // Returning [hook.StopPropagation] will prevent sending the message. // Returning any other non-nil error will close the realtime connection. OnRealtimeBeforeMessageSend() *hook.Hook[*RealtimeMessageEvent] - // OnRealtimeBeforeMessage hook is triggered right after sending + // OnRealtimeAfterMessageSend hook is triggered right after sending // an SSE message to a client. OnRealtimeAfterMessageSend() *hook.Hook[*RealtimeMessageEvent]