Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ-Ferguson committed Apr 24, 2024
1 parent c69baf0 commit 7000b64
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1167,6 +1167,8 @@ public void executeInEventLoop(Runnable runnable) {

/**
* Schedules a task and prints a stack trace if an error occurs.
* <p>
* The task will not run if the session is closed.
*/
public ScheduledFuture<?> scheduleInEventLoop(Runnable runnable, long duration, TimeUnit timeUnit) {
return eventLoop.schedule(() -> {
Expand Down

0 comments on commit 7000b64

Please sign in to comment.