Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Apr 19, 2024
1 parent 9853c82 commit 0713a63
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions internal/netpoll/defs_poller_kqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@ const (
MinPollEventsCap = 16
// MaxAsyncTasksAtOneTime is the maximum amount of asynchronous tasks that the event-loop will process at one time.
MaxAsyncTasksAtOneTime = 128
// EVFilterWrite represents writeable events from sockets.
EVFilterWrite = unix.EVFILT_WRITE
// EVFilterRead represents readable events from sockets.
EVFilterRead = unix.EVFILT_READ
// EVFlagsEOF indicates filter-specific EOF condition.
EVFlagsEOF = unix.EV_EOF
// EVFlagsError indicates filter-specific error condition.
EVFlagsError = unix.EV_ERROR
)

// PollEventHandler is the callback for I/O events notified by the poller.
Expand Down

0 comments on commit 0713a63

Please sign in to comment.