Skip to content

Commit

Permalink
refactor: subscriber interface
Browse files Browse the repository at this point in the history
  • Loading branch information
w-h-a committed Jul 13, 2024
1 parent 5b6c66e commit c59a715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions streams/subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package streams
type Subscriber interface {
Options() SubscribeOptions
Channel() chan Event
Ack(ev Event) error
Nack(ev Event) error
Ack(ev Event) interface{}
Nack(ev Event) interface{}
SetAttempts(c int, ev Event)
GetAttempts(ev Event) (int, bool)
String() string
Expand Down

0 comments on commit c59a715

Please sign in to comment.