mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-07 23:02:12 +02:00
remove publish async (#811)
This commit is contained in:
parent
a0fe496a91
commit
4f502ee285
@ -23,7 +23,6 @@ type Handler func(context.Context, Event) error
|
||||
// to queue.
|
||||
type Publisher interface {
|
||||
Publish(ctx context.Context, event Event) error
|
||||
PublishAsync(ctx context.Context, event Event, callback func(err error)) error
|
||||
Close() error
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user