Skip to content

Commit

Permalink
fix: make predicate function suspend
Browse files Browse the repository at this point in the history
  • Loading branch information
d1snin committed Sep 27, 2024
1 parent ac58a8c commit 34bbcc0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import dev.d1s.ktor.events.server.entity.ServerWebSocketEvent
*/
public fun interface OutgoingEventFilter {

public fun predicate(
public suspend fun predicate(
event: ServerWebSocketEvent,
dto: WebSocketEventDto,
connection: EventSendingConnection
Expand Down

0 comments on commit 34bbcc0

Please sign in to comment.