Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pilot committed Dec 26, 2023
1 parent ed3aabd commit e2f226e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ev.Attach(time.Second)
When events are triggered together, high priority events will be dispatched first.

```go
ev := event.New(base, fd, event.EvRead|event.EvET, callback, arg)
ev := event.New(base, fd, event.EvRead, callback, arg)
ev.SetPriority(event.HP)
```

Expand Down

0 comments on commit e2f226e

Please sign in to comment.